blob: 7aba6b262538862e861389f3422d757fef1679da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
--- fsl-setup-env.org 2016-04-28 08:51:45.358230853 +0200
+++ fsl-setup-env 2016-04-28 09:51:47.386287880 +0200
@@ -101,9 +101,14 @@
if [ $? -eq 0 ]; then
echo -e "\n Supported machines:
+NXP Machines:
`ls $FSLROOTDIR/conf/machine | grep "\.conf" \
| egrep -v "^imx|^twr" | sed s/\.conf//g | xargs echo`
-"
+
+Scalys Machines:
+ `ls sources/meta-scalys-ppc/conf/machine | grep "\.conf" \
+ | egrep -v "^imx|^twr" | sed s/\.conf//g | xargs echo`
+ "
else
echo " ERROR: no available machine conf file is found. "
fi
@@ -166,6 +171,9 @@
if [ -n "${MACHINE}" ] && \
[ -e "$FSLROOTDIR/conf/machine/${MACHINE}.conf" ]; then
echo "Configuring for ${MACHINE} ..."
+elif [ -n "${MACHINE}" ] && \
+ [ -e "sources/meta-scalys-ppc/conf/machine/${MACHINE}.conf" ]; then
+ echo "Configuring for ${MACHINE} ..."
else
echo -e "\nThe \$MACHINE you have specified ($MACHINE) is not supported by this build setup."
usage && clean_up && return
@@ -216,6 +224,9 @@
elif [ "`ls $FSLROOTDIR/conf/machine $EXTRAROOTDIR/conf/machine \
| grep "\.conf" | egrep -v "^imx|^twr" | grep ${MACHINE} | wc -l`" != "0" ]; then
DISTRO="fsl-qoriq"
+elif [ "`ls sources/meta-scalys-ppc/conf/machine $EXTRAROOTDIR/conf/machine \
+ | grep "\.conf" | egrep -v "^imx|^twr" | grep ${MACHINE} | wc -l`" != "0" ]; then
+ DISTRO="fsl-qoriq"
fi
if [ -z "$DISTRO" ]; then
|