From e53bafea3cad0366146ef2963ae2374b4b9095fb Mon Sep 17 00:00:00 2001 From: Fabio Berton Date: Fri, 14 Jun 2019 15:14:54 -0300 Subject: u-boot-fslc: Upgrade 2019.04 -> 2019.07 This upgrades to the next U-Boot release 2019-07. This is based on the 2019.07-rc4 and includes the last fixes being worked on for the i.MX family. Signed-off-by: Fabio Berton --- recipes-bsp/u-boot/u-boot-fslc-mxsboot_2019.07.bb | 32 +++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 recipes-bsp/u-boot/u-boot-fslc-mxsboot_2019.07.bb (limited to 'recipes-bsp/u-boot/u-boot-fslc-mxsboot_2019.07.bb') 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 new file mode 100644 index 00000000..9123b331 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2019.07.bb @@ -0,0 +1,32 @@ +require u-boot-fslc-common_${PV}.inc + +DESCRIPTION = "U-boot bootloader mxsboot tool" +SECTION = "bootloader" + +DEPENDS = "bison-native dtc openssl" + +PROVIDES = "u-boot-mxsboot" + +EXTRA_OEMAKE_class-target = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${CC} ${CFLAGS} ${LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1 CONFIG_MX28=y' +EXTRA_OEMAKE_class-native = 'CC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1 CONFIG_MX28=y' +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 + + # 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 +} + +do_install () { + install -Dm 0755 tools/mxsboot ${D}${bindir}/uboot-mxsboot + ln -sf uboot-mxsboot ${D}${bindir}/mxsboot +} + +COMPATIBLE_MACHINE_class-target = "(mxs|mx5|mx6|mx7|vf|use-mainline-bsp)" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf