diff options
author | Evert Pap <evert.pap@sintecs.nl> | 2017-08-18 14:19:55 (GMT) |
---|---|---|
committer | Evert Pap <evert.pap@sintecs.nl> | 2017-08-18 14:19:55 (GMT) |
commit | e19d2951feb3f4855635d4292904ecd17a102d74 (patch) | |
tree | e04a823a4c767d45fd0457df0a4781c461aa7d97 | |
parent | 78bc904998607186f780c53cfd8aa8a3ec8fbc56 (diff) | |
parent | e44de9e368e084e54d5b293c0c5fc71ba1426a7e (diff) | |
download | scalys-bsp-master.tar.xz |
-rw-r--r-- | QorIQ_SDK_1.9_fsl-setup-env-add-scalys-systems.patch | 38 |
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 |