summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--QorIQ_SDK_1.9_fsl-setup-env-add-scalys-systems.patch38
1 files changed, 38 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..7aba6b2
--- /dev/null
+++ b/QorIQ_SDK_1.9_fsl-setup-env-add-scalys-systems.patch
@@ -0,0 +1,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