summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvert Pap <evert.pap@sintecs.nl>2016-04-28 07:15:34 (GMT)
committerEvert Pap <evert.pap@sintecs.nl>2016-04-28 07:15:34 (GMT)
commit8d36079c1fec854f181ae289f3d201ac8280f062 (patch)
treecbaffc4a999ff045d009786d4ba53cd2aa30cdc9
downloadscalys-bsp-8d36079c1fec854f181ae289f3d201ac8280f062.tar.xz
Add scalys systems to fsl-setup-env script
-rw-r--r--QorIQ_SDK_1.9_fsl-setup-env-add-scalys-systems.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/QorIQ_SDK_1.9_fsl-setup-env-add-scalys-systems.patch b/QorIQ_SDK_1.9_fsl-setup-env-add-scalys-systems.patch
new file mode 100644
index 0000000..981b587
--- /dev/null
+++ b/QorIQ_SDK_1.9_fsl-setup-env-add-scalys-systems.patch
@@ -0,0 +1,28 @@
+--- fsl-setup-env.org 2016-04-28 08:51:45.358230853 +0200
++++ fsl-setup-env 2016-04-28 08:59:14.810237969 +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