From 10a2dd4d67d57e8f91a2814cd61371b6cab94044 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 12 Nov 2024 17:23:57 +0800 Subject: barebox-tools: upgrade 2024.09.0 -> 2024.10.0 (From OE-Core rev: 828b3767406f11822a900c148a97b341c86f4fad) Signed-off-by: Wang Mingyu Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- .../recipes-bsp/barebox/barebox-tools_2024.09.0.bb | 59 ---------------------- .../recipes-bsp/barebox/barebox-tools_2024.10.0.bb | 59 ++++++++++++++++++++++ 2 files changed, 59 insertions(+), 59 deletions(-) delete mode 100644 meta/recipes-bsp/barebox/barebox-tools_2024.09.0.bb create mode 100644 meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb diff --git a/meta/recipes-bsp/barebox/barebox-tools_2024.09.0.bb b/meta/recipes-bsp/barebox/barebox-tools_2024.09.0.bb deleted file mode 100644 index 13a308b3da..0000000000 --- a/meta/recipes-bsp/barebox/barebox-tools_2024.09.0.bb +++ /dev/null @@ -1,59 +0,0 @@ -SUMMARY = "barebox bootloader tools" -HOMEPAGE = "https://barebox.org/" -SECTION = "bootloaders" - -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=f5125d13e000b9ca1f0d3364286c4192" - -DEPENDS = "bison-native flex-native libusb1" - -SRC_URI = "https://barebox.org/download/barebox-${PV}.tar.bz2" -SRC_URI[sha256sum] = "4d4ea7e232aeba2b3cb9ccf0dbf8cd8e01c65b6c615f64c3bd0c4f24f23a47da" - -S = "${WORKDIR}/barebox-${PV}" -B = "${WORKDIR}/build" - -inherit pkgconfig - -EXTRA_OEMAKE = " \ - ARCH=sandbox \ - CROSS_COMPILE=${TARGET_PREFIX} -C ${S} O=${B} \ - CROSS_PKG_CONFIG=pkg-config \ - CC='${CC}' \ - LD='${LD}' \ - " - -do_compile:class-target () { - export userccflags="${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" - export userldflags="${TARGET_LDFLAGS}${TOOLCHAIN_OPTIONS}" - oe_runmake targettools_defconfig - oe_runmake scripts -} - -do_compile:class-native () { - oe_runmake hosttools_defconfig - oe_runmake scripts -} - -BAREBOX_TOOLS = " \ - bareboxenv \ - bareboxcrc32 \ - kernel-install \ - bareboximd \ - omap3-usb-loader \ - omap4_usbboot \ - imx/imx-usb-loader \ - " - -BAREBOX_TOOLS_SUFFIX = "" -BAREBOX_TOOLS_SUFFIX:class-target = "-target" - -do_install () { - install -d ${D}${bindir} - - for tool in ${BAREBOX_TOOLS}; do - install -m 0755 scripts/${tool}${BAREBOX_TOOLS_SUFFIX} ${D}${bindir}/${tool##*/} - done -} - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb b/meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb new file mode 100644 index 0000000000..386656f7ad --- /dev/null +++ b/meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb @@ -0,0 +1,59 @@ +SUMMARY = "barebox bootloader tools" +HOMEPAGE = "https://barebox.org/" +SECTION = "bootloaders" + +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=f5125d13e000b9ca1f0d3364286c4192" + +DEPENDS = "bison-native flex-native libusb1" + +SRC_URI = "https://barebox.org/download/barebox-${PV}.tar.bz2" +SRC_URI[sha256sum] = "955b20bfa7358732d2c0c09ccfd4c1a69087b7e2c610b16dee7442d71a5af88d" + +S = "${WORKDIR}/barebox-${PV}" +B = "${WORKDIR}/build" + +inherit pkgconfig + +EXTRA_OEMAKE = " \ + ARCH=sandbox \ + CROSS_COMPILE=${TARGET_PREFIX} -C ${S} O=${B} \ + CROSS_PKG_CONFIG=pkg-config \ + CC='${CC}' \ + LD='${LD}' \ + " + +do_compile:class-target () { + export userccflags="${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" + export userldflags="${TARGET_LDFLAGS}${TOOLCHAIN_OPTIONS}" + oe_runmake targettools_defconfig + oe_runmake scripts +} + +do_compile:class-native () { + oe_runmake hosttools_defconfig + oe_runmake scripts +} + +BAREBOX_TOOLS = " \ + bareboxenv \ + bareboxcrc32 \ + kernel-install \ + bareboximd \ + omap3-usb-loader \ + omap4_usbboot \ + imx/imx-usb-loader \ + " + +BAREBOX_TOOLS_SUFFIX = "" +BAREBOX_TOOLS_SUFFIX:class-target = "-target" + +do_install () { + install -d ${D}${bindir} + + for tool in ${BAREBOX_TOOLS}; do + install -m 0755 scripts/${tool}${BAREBOX_TOOLS_SUFFIX} ${D}${bindir}/${tool##*/} + done +} + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf