summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2017-09-19 10:19:41 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-21 09:24:25 +0100
commit7df44282c22fc29656a2c781090e4d8cf9c5bed1 (patch)
tree84da07c3eb9a84b01a045385f25d74deebbc7922 /meta
parent35258b6d3cd8354b628ce050e8f6c603700687c5 (diff)
downloadpoky-7df44282c22fc29656a2c781090e4d8cf9c5bed1.tar.gz
u-boot-fw-utils: Fix cross and target builds
- The environment tools target has change to envtools; - The HOSTCC variable must be used to set CC for cross; - Drop ARCH variable as it is set on config; (From OE-Core rev: 73afabf8e69019f08b424a06f3eafaab052b0606) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-bsp/u-boot/u-boot-fw-utils_2017.09.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2017.09.bb b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2017.09.bb
index c2e8f0fb84..02887a138a 100644
--- a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2017.09.bb
+++ b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2017.09.bb
@@ -5,13 +5,13 @@ DEPENDS = "mtd-utils"
5 5
6INSANE_SKIP_${PN} = "already-stripped" 6INSANE_SKIP_${PN} = "already-stripped"
7EXTRA_OEMAKE_class-target = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${CC} ${CFLAGS} ${LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" V=1' 7EXTRA_OEMAKE_class-target = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${CC} ${CFLAGS} ${LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" V=1'
8EXTRA_OEMAKE_class-cross = 'ARCH=${TARGET_ARCH} CC="${CC} ${CFLAGS} ${LDFLAGS}" V=1' 8EXTRA_OEMAKE_class-cross = 'HOSTCC="${CC} ${CFLAGS} ${LDFLAGS}" V=1'
9 9
10inherit uboot-config 10inherit uboot-config
11 11
12do_compile () { 12do_compile () {
13 oe_runmake ${UBOOT_MACHINE} 13 oe_runmake ${UBOOT_MACHINE}
14 oe_runmake env 14 oe_runmake envtools
15} 15}
16 16
17do_install () { 17do_install () {