From 8e887cfcd810631680f5618b33eb0916cf995551 Mon Sep 17 00:00:00 2001 From: Trevor Woerner Date: Wed, 12 Feb 2020 18:57:46 -0500 Subject: u-boot-fslc-mxsboot-native: B!=S fix MACHINEs such as the imx23evk and imx28evk (i.e. the mxs MACHINEs) failed to build because the recipe for u-boot-fslc-mxsboot-native wasn't instrumented to support ${B} != ${S}, which is used as a result of inheriting u-boot-fslc-common. In other words, the inherit was setting up ${B} != ${S}, but then u-boot-fslc-mxsboot didn't know what to do in this scenario. Signed-off-by: Trevor Woerner --- recipes-bsp/u-boot/u-boot-fslc-mxsboot_2019.07.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2019.07.bb b/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2019.07.bb index 9123b331..2492f450 100644 --- a/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2019.07.bb +++ b/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2019.07.bb @@ -12,14 +12,14 @@ EXTRA_OEMAKE_class-native = 'CC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" H EXTRA_OEMAKE_class-nativesdk = 'CROSS_COMPILE="${HOST_PREFIX}" CC="${CC} ${CFLAGS} ${LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1 CONFIG_MX28=y' do_compile () { - oe_runmake sandbox_defconfig + oe_runmake -C ${S} O=${B} sandbox_defconfig # Disable CONFIG_CMD_LICENSE, license.h is not used by tools and # generating it requires bin2header tool, which for target build # is built with target tools and thus cannot be executed on host. sed -i "s/CONFIG_CMD_LICENSE=.*/# CONFIG_CMD_LICENSE is not set/" .config - oe_runmake cross_tools NO_SDL=1 + oe_runmake -C ${S} O=${B} cross_tools NO_SDL=1 } do_install () { -- cgit v1.2.3-54-g00ecf