u-boot-mkimage: Correct EXTRA_OEMAKE
PATCH v2 1/5 u-boot-mkimage: Correct EXTRA_OEMAKE
- HOSTLD has never been used in U-Boot, drop.
- HOSTSTRIP has been valid for a long time for tools
- Same for HOSTCFLAGS / HOSTLDFLAGS
--- meta/recipes-bsp/u-boot/u-boot-mkimage_2011.03.bb | 4 ++-- meta/recipes-bsp/u-boot/u-boot-mkimage_2011.06.bb | 4 ++-- .../u-boot/u-boot-mkimage_2012.04.01.bb | 4 +++- 3 files changed, 7 insertions(+), 5 deletions(-)
meta/recipes-bsp/u-boot/u-boot-mkimage_2011.03.bb +2 -2
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ file://README;beginline=1;endline=22;md5=3a00ef51d3fc96e9d6c1bc4708ccd3b5" SECTION = "bootloader" -PR = "r1" +PR = "r2" SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \ file://0001-Drop-config.h-include-in-tools-imximage.h.patch \
@@ -17,7 +17,7 @@ S = "${WORKDIR}/u-boot-${PV}" BBCLASSEXTEND = "native nativesdk" -EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTLD="${LD}" HOSTSTRIP=true' +EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTCFLAGS="${CFLAGS}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true' do_compile () { oe_runmake tools
meta/recipes-bsp/u-boot/u-boot-mkimage_2011.06.bb +2 -2
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90" SECTION = "bootloader" -PR = "r0" +PR = "r1" SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2"
@@ -15,7 +15,7 @@ S = "${WORKDIR}/u-boot-${PV}" BBCLASSEXTEND = "native nativesdk" -EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTLD="${LD}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true' +EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTCFLAGS="${CFLAGS}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true' do_compile () { oe_runmake tools
meta/recipes-bsp/u-boot/u-boot-mkimage_2012.04.01.bb +3 -1
@@ -3,6 +3,8 @@ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" SECTION = "bootloader" +PR = "r1" + # This is needs to be validated among supported BSP's before we can # make it default DEFAULT_PREFERENCE = "-1"
@@ -18,7 +20,7 @@ SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git" S = "${WORKDIR}/git" -EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTLD="${LD}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true' +EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTCFLAGS="${CFLAGS}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true' do_compile () { oe_runmake tools
Signature · 1 line
1.7.9.5
PATCH v2 2/5 u-boot-fw-utils: Correct EXTRA_OEMAKE
- HOSTCFLAGS / HOSTLDFLAGS have been valid for a long time for tools/env
- HOSTSTRIP will be needed in the future, does no harm to be correct now.
--- meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb | 4 ++-- .../u-boot/u-boot-fw-utils_2012.04.01.bb | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-)
meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb +2 -2
@@ -6,7 +6,7 @@ SECTION = "bootloader" DEPENDS = "mtd-utils" -PR = "r1" +PR = "r2" SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2"
@@ -15,7 +15,7 @@ SRC_URI[sha256sum] = "362ddb935885da98cf461eba08f31e3e59d0c4ada6cb2fa15596f43af3 S = "${WORKDIR}/u-boot-${PV}" -EXTRA_OEMAKE = 'HOSTCC="${CC}"' +EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTCFLAGS="${CFLAGS}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true' do_compile () { oe_runmake env
meta/recipes-bsp/u-boot/u-boot-fw-utils_2012.04.01.bb +3 -1
@@ -5,6 +5,8 @@ SECTION = "bootloader" DEPENDS = "mtd-utils" +PR = "r1" + # This is needs to be validated among supported BSP's before we can # make it default DEFAULT_PREFERENCE = "-1"
@@ -20,7 +22,7 @@ SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git" S = "${WORKDIR}/git" -EXTRA_OEMAKE = 'HOSTCC="${CC}"' +EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTCFLAGS="${CFLAGS}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true' do_compile () { oe_runmake env
Signature · 1 line
1.7.9.5
PATCH v2 3/5 u-boot-fw-utils: Update to v2012.07
In reply to Tom Rini--- .../u-boot/u-boot-fw-utils_2012.04.01.bb | 35 -------------------- meta/recipes-bsp/u-boot/u-boot-fw-utils_2012.07.bb | 33 ++++++++++++++++++ 2 files changed, 33 insertions(+), 35 deletions(-) delete mode 100644 meta/recipes-bsp/u-boot/u-boot-fw-utils_2012.04.01.bb create mode 100644 meta/recipes-bsp/u-boot/u-boot-fw-utils_2012.07.bb
meta/recipes-bsp/u-boot/u-boot-fw-utils_2012.04.01.bb deleted +0 -35
@@ -1,35 +0,0 @@ -DESCRIPTION = "U-boot bootloader fw_printenv/setenv utils" -LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" -SECTION = "bootloader" - -DEPENDS = "mtd-utils" - -PR = "r1" - -# This is needs to be validated among supported BSP's before we can -# make it default -DEFAULT_PREFERENCE = "-1" - -# This revision corresponds to the tag "v2012.04.01" -# We use the revision in order to avoid having to fetch it from the -# repo during parse -SRCREV = "415d386877df49eb051b85ef74fa59a16dc17c7d" - -PV = "v2012.04.01+git${SRCPV}" - -SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git" - -S = "${WORKDIR}/git" - -EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTCFLAGS="${CFLAGS}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true' - -do_compile () { - oe_runmake env -} - -do_install () { - install -d ${D}${base_sbindir} - install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv - install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv -}
meta/recipes-bsp/u-boot/u-boot-fw-utils_2012.07.bb new file +33 -0
@@ -0,0 +1,33 @@ +DESCRIPTION = "U-boot bootloader fw_printenv/setenv utils" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" +SECTION = "bootloader" + +DEPENDS = "mtd-utils" + +# This is needs to be validated among supported BSP's before we can +# make it default +DEFAULT_PREFERENCE = "-1" + +# This revision corresponds to the tag "v2012.07" +# We use the revision in order to avoid having to fetch it from the +# repo during parse +SRCREV = "190649fb4309d1bc0fe7732fd0f951cb6440f935" + +PV = "v2012.07+git${SRCPV}" + +SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git" + +S = "${WORKDIR}/git" + +EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTCFLAGS="${CFLAGS}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true' + +do_compile () { + oe_runmake env +} + +do_install () { + install -d ${D}${base_sbindir} + install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv + install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv +}
Signature · 1 line
1.7.9.5
PATCH v2 4/5 u-boot-mkimage: Update to v2012.07
In reply to Tom Rini--- .../u-boot/u-boot-mkimage_2012.04.01.bb | 35 -------------------- meta/recipes-bsp/u-boot/u-boot-mkimage_2012.07.bb | 33 ++++++++++++++++++ 2 files changed, 33 insertions(+), 35 deletions(-) delete mode 100644 meta/recipes-bsp/u-boot/u-boot-mkimage_2012.04.01.bb create mode 100644 meta/recipes-bsp/u-boot/u-boot-mkimage_2012.07.bb
meta/recipes-bsp/u-boot/u-boot-mkimage_2012.04.01.bb deleted +0 -35
@@ -1,35 +0,0 @@ -DESCRIPTION = "U-boot bootloader mkimage tool" -LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" -SECTION = "bootloader" - -PR = "r1" - -# This is needs to be validated among supported BSP's before we can -# make it default -DEFAULT_PREFERENCE = "-1" - -# This revision corresponds to the tag "v2012.04.01" -# We use the revision in order to avoid having to fetch it from the -# repo during parse -SRCREV = "415d386877df49eb051b85ef74fa59a16dc17c7d" - -PV = "v2012.04.01+git${SRCPV}" - -SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git" - -S = "${WORKDIR}/git" - -EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTCFLAGS="${CFLAGS}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true' - -do_compile () { - oe_runmake tools -} - -do_install () { - install -d ${D}${bindir} - install -m 0755 tools/mkimage ${D}${bindir}/uboot-mkimage - ln -sf uboot-mkimage ${D}${bindir}/mkimage -} - -BBCLASSEXTEND = "native nativesdk"
meta/recipes-bsp/u-boot/u-boot-mkimage_2012.07.bb new file +33 -0
@@ -0,0 +1,33 @@ +DESCRIPTION = "U-boot bootloader mkimage tool" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" +SECTION = "bootloader" + +# This is needs to be validated among supported BSP's before we can +# make it default +DEFAULT_PREFERENCE = "-1" + +# This revision corresponds to the tag "v2012.07" +# We use the revision in order to avoid having to fetch it from the +# repo during parse +SRCREV = "190649fb4309d1bc0fe7732fd0f951cb6440f935" + +PV = "v2012.07+git${SRCPV}" + +SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git" + +S = "${WORKDIR}/git" + +EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTCFLAGS="${CFLAGS}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true' + +do_compile () { + oe_runmake tools +} + +do_install () { + install -d ${D}${bindir} + install -m 0755 tools/mkimage ${D}${bindir}/uboot-mkimage + ln -sf uboot-mkimage ${D}${bindir}/mkimage +} + +BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
1.7.9.5
PATCH v2 5/5 u-boot: Update to v2012.07
In reply to Tom Rini--- meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb | 29 -------------------------- meta/recipes-bsp/u-boot/u-boot_2012.07.bb | 29 ++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 29 deletions(-) delete mode 100644 meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb create mode 100644 meta/recipes-bsp/u-boot/u-boot_2012.07.bb
meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb deleted +0 -29
@@ -1,29 +0,0 @@ -require u-boot.inc - -# This is needs to be validated among supported BSP's before we can -# make it default -DEFAULT_PREFERENCE = "-1" - -# To build u-boot for your machine, provide the following lines in -# your machine config, replacing the assignments as appropriate for -# your machine. -# UBOOT_MACHINE = "omap3_beagle_config" -# UBOOT_ENTRYPOINT = "0x80008000" -# UBOOT_LOADADDRESS = "0x80008000" - -LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" - -# This revision corresponds to the tag "v2012.04.01" -# We use the revision in order to avoid having to fetch it from the -# repo during parse -SRCREV = "415d386877df49eb051b85ef74fa59a16dc17c7d" - -PV = "v2012.04.01+git${SRCPV}" -PR = "r1" - -SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git" - -S = "${WORKDIR}/git" - -PACKAGE_ARCH = "${MACHINE_ARCH}"
meta/recipes-bsp/u-boot/u-boot_2012.07.bb new file +29 -0
@@ -0,0 +1,29 @@ +require u-boot.inc + +# This is needs to be validated among supported BSP's before we can +# make it default +DEFAULT_PREFERENCE = "-1" + +# To build u-boot for your machine, provide the following lines in +# your machine config, replacing the assignments as appropriate for +# your machine. +# UBOOT_MACHINE = "omap3_beagle_config" +# UBOOT_ENTRYPOINT = "0x80008000" +# UBOOT_LOADADDRESS = "0x80008000" + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" + +# This revision corresponds to the tag "v2012.07" +# We use the revision in order to avoid having to fetch it from the +# repo during parse +SRCREV = "190649fb4309d1bc0fe7732fd0f951cb6440f935" + +PV = "v2012.07+git${SRCPV}" +PR = "r1" + +SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git" + +S = "${WORKDIR}/git" + +PACKAGE_ARCH = "${MACHINE_ARCH}"
Signature · 1 line
1.7.9.5
Quoted 25 lines · Tom Rini
- HOSTLD has never been used in U-Boot, drop.
- HOSTSTRIP has been valid for a long time for tools
- Same for HOSTCFLAGS / HOSTLDFLAGSSigned-off-by Tom Rini <[email protected]>--- meta/recipes-bsp/u-boot/u-boot-mkimage_2011.03.bb | 4 ++-- meta/recipes-bsp/u-boot/u-boot-mkimage_2011.06.bb | 4 ++-- .../u-boot/u-boot-mkimage_2012.04.01.bb | 4 +++- 3 files changed, 7 insertions(+), 5 deletions(-)meta/recipes-bsp/u-boot/u-boot-mkimage_2011.03.bb +1
-1@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ file://README;beginline=1;endline=22;md5=3a00ef51d3fc96e9d6c1bc4708ccd3b5" SECTION = "bootloader" -PR = "r1" +PR = "r2" SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \ file://0001-Drop-config.h-include-in-tools-imximage.h.patch \
meta/recipes-bsp/u-boot/u-boot-mkimage_2011.03.bb S = "${WORKDIR}/u-boot-${PV}" · line 21
Quoted 6 lines
meta/recipes-bsp/u-boot/u-boot-mkimage_2011.03.bb +1
-1@@ -17,7 +17,7 @@ S = "${WORKDIR}/u-boot-${PV}" BBCLASSEXTEND = "native nativesdk" -EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTLD="${LD}" HOSTSTRIP=true' +EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTCFLAGS="${CFLAGS}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true'
I know you fixed the quote, but did you do any kind of test build?
Please see the Autobuilder:
http://autobuilder.yoctoproject.org:8010/builders/nightly-world/builds/243/steps/shell_34/logs/stdio
for additional failures, please let me know what testing you do when you submit the next patch set please.
Thanks
Sau!
Quoted 47 lines
meta/recipes-bsp/u-boot/u-boot-mkimage_2011.03.bb +0
-0do_compile () { oe_runmake toolsmeta/recipes-bsp/u-boot/u-boot-mkimage_2011.06.bb +2
-2@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90" SECTION = "bootloader" -PR = "r0" +PR = "r1" SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2"@@ -15,7 +15,7 @@ S = "${WORKDIR}/u-boot-${PV}" BBCLASSEXTEND = "native nativesdk" -EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTLD="${LD}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true' +EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTCFLAGS="${CFLAGS}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true' do_compile () { oe_runmake toolsmeta/recipes-bsp/u-boot/u-boot-mkimage_2012.04.01.bb +3
-1@@ -3,6 +3,8 @@ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" SECTION = "bootloader" +PR = "r1" + # This is needs to be validated among supported BSP's before we can # make it default DEFAULT_PREFERENCE = "-1"@@ -18,7 +20,7 @@ SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git" S = "${WORKDIR}/git" -EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTLD="${LD}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true' +EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTCFLAGS="${CFLAGS}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true' do_compile () { oe_runmake tools