From 3e9b83711ebe13548b3486b59327126a7865ecda Mon Sep 17 00:00:00 2001 From: Ting Liu Date: Sat, 9 Jan 2016 14:42:56 +0800 Subject: [PATCH] u-boot-qoriq: exit if UBOOT_CONFIG not supported Signed-off-by: Ting Liu > Signed-off-by: Otavio Salvador --- 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 6df17206..e86bc7ce 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";; -- 2.40.1