From 8d36079c1fec854f181ae289f3d201ac8280f062 Mon Sep 17 00:00:00 2001 From: Evert Pap Date: Thu, 28 Apr 2016 09:15:34 +0200 Subject: Add scalys systems to fsl-setup-env script 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 -- cgit v0.10.2 From e44de9e368e084e54d5b293c0c5fc71ba1426a7e Mon Sep 17 00:00:00 2001 From: Evert Pap Date: Thu, 28 Apr 2016 09:54:43 +0200 Subject: Add distro selecton for scalys ppc system 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 -- cgit v0.10.2