[OE-core] [PATCH] FSLONLY: adjust the meta-oe layer sequence to make Yocto pick up the right bbclass file

b19537 at freescale.com b19537 at freescale.com
Mon Jan 9 08:58:26 UTC 2012


From: Zhenhua Luo <b19537 at freescale.com>

Signed-off-by: Zhenhua Luo <b19537 at freescale.com>
---
 fsl-setup-poky |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/fsl-setup-poky b/fsl-setup-poky
index a5cc702..d1faaae 100755
--- a/fsl-setup-poky
+++ b/fsl-setup-poky
@@ -168,13 +168,6 @@ echo >> build_${BOARD}_release/conf/local.conf
 sed "/  \"/d" build_${BOARD}_release/conf/bblayers.conf > build_${BOARD}_release/conf/bblayers.conf~
 mv build_${BOARD}_release/conf/bblayers.conf~ build_${BOARD}_release/conf/bblayers.conf
 
-# append meta-oe/meta-oe if it exists
-if [ -e $CUR_DIR/meta-oe/meta-oe ]; then
-    echo "  $CUR_DIR/meta-oe/meta-oe \\" >> build_${BOARD}_release/conf/bblayers.conf
-elif [ -e $CUR_DIR/../meta-oe/meta-oe ]; then
-    echo "  $CUR_DIR/../meta-oe/meta-oe \\" >> build_${BOARD}_release/conf/bblayers.conf
-fi
-
 # append meta-fsl-ppc bblayer into conf/bblayers.conf
 echo "  ${META_FSL_PPC_LAYER_PATH} \\" >> build_${BOARD}_release/conf/bblayers.conf
 
@@ -191,6 +184,13 @@ if [ -e $CUR_DIR/meta-fsl-local-sdk ]; then
 elif [ -e $CUR_DIR/../meta-fsl-local-sdk ]; then
     echo "  $CUR_DIR/../meta-fsl-local-sdk \\" >> build_${BOARD}_release/conf/bblayers.conf
 fi
+
+# append meta-oe/meta-oe if it exists
+if [ -e $CUR_DIR/meta-oe/meta-oe ]; then
+    echo "  $CUR_DIR/meta-oe/meta-oe \\" >> build_${BOARD}_release/conf/bblayers.conf
+elif [ -e $CUR_DIR/../meta-oe/meta-oe ]; then
+    echo "  $CUR_DIR/../meta-oe/meta-oe \\" >> build_${BOARD}_release/conf/bblayers.conf
+fi
 echo "  \"" >> build_${BOARD}_release/conf/bblayers.conf
 
 # enable 64b multilib if we are a p5020ds(-32b)
-- 
1.7.0.4






More information about the Openembedded-core mailing list