summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvert Pap <evert.pap@sintecs.nl>2016-04-28 07:54:43 (GMT)
committerEvert Pap <evert.pap@sintecs.nl>2016-04-28 07:54:43 (GMT)
commite44de9e368e084e54d5b293c0c5fc71ba1426a7e (patch)
tree55a8816a68c82b2accc6572dd7ac4ad2dee9fcba
parent8d36079c1fec854f181ae289f3d201ac8280f062 (diff)
downloadscalys-bsp-e44de9e368e084e54d5b293c0c5fc71ba1426a7e.tar.xz
Add distro selecton for scalys ppc system
-rw-r--r--QorIQ_SDK_1.9_fsl-setup-env-add-scalys-systems.patch12
1 files changed, 11 insertions, 1 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
index 981b587..7aba6b2 100644
--- a/QorIQ_SDK_1.9_fsl-setup-env-add-scalys-systems.patch
+++ b/QorIQ_SDK_1.9_fsl-setup-env-add-scalys-systems.patch
@@ -1,5 +1,5 @@
--- fsl-setup-env.org 2016-04-28 08:51:45.358230853 +0200
-+++ fsl-setup-env 2016-04-28 08:59:14.810237969 +0200
++++ fsl-setup-env 2016-04-28 09:51:47.386287880 +0200
@@ -101,9 +101,14 @@
if [ $? -eq 0 ]; then
@@ -26,3 +26,13 @@
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