[meta-freescale] [PATCH 03/60] u-boot-qoriq: exit if UBOOT_CONFIG not supported

ting.liu at nxp.com ting.liu at nxp.com
Fri Jan 8 22:42:56 PST 2016


From: Ting Liu <ting.liu at nxp.com>

Signed-off-by: Ting Liu <ting.liu at nxp.com>>
---
 recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb b/recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb
index 6df1720..e86bc7c 100644
--- a/recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb
+++ b/recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb
@@ -57,14 +57,7 @@ S = "${WORKDIR}/git"
 EXTRA_OEMAKE = 'CROSS_COMPILE=${WRAP_TARGET_PREFIX} CC="${WRAP_TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"'
 
 do_compile_append_qoriq-ppc() {
-    python ./tools/genboardscfg.py
-
     for board in ${UBOOT_MACHINE}; do
-        if ! grep -wq $board ${S}/boards.cfg;then
-            echo "WARNING: $board not supported in boards.cfg"
-            continue
-        fi
-
         case "${board}" in
             *SDCARD*)   UBOOT_TARGET="u-boot-sd";;
             *SPIFLASH*) UBOOT_TARGET="u-boot-spi";;
@@ -124,10 +117,6 @@ unset i j
 
 do_install_append_qoriq-ppc() {
     for board in ${UBOOT_MACHINE}; do
-        if ! grep -wq $board ${S}/boards.cfg;then
-            continue
-        fi
-
         case "${board}" in
             *SDCARD*)   UBOOT_TARGET="u-boot-sd";;
             *SPIFLASH*) UBOOT_TARGET="u-boot-spi";;
@@ -150,10 +139,6 @@ do_deploy_append_qoriq-ppc() {
     fi
 
     for board in ${UBOOT_MACHINES}; do
-        if ! grep -wq $board ${S}/boards.cfg;then
-            continue
-        fi
-
         case "${board}" in
             *SDCARD*)   UBOOT_TARGET="u-boot-sd";;
             *SPIFLASH*) UBOOT_TARGET="u-boot-spi";;
-- 
1.9.2



More information about the meta-freescale mailing list