summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2017-03-14 15:37:34 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-17 16:53:06 +0000
commitb6971f52dc940b9c5a5f741a2df57873e886a10e (patch)
tree22ce75bc4b0764c34fd85ef452f015a5c6ab5a52
parent0c6ab4cd2e36a4d6ab11a6eea62fd24f923df3be (diff)
downloadpoky-b6971f52dc940b9c5a5f741a2df57873e886a10e.tar.gz
u-boot-fw-utils: reuse the same override HOSTCC patch as u-boot-mkimage
(From OE-Core rev: 2815f819c1a620949213fa952557c03f7d594ed6) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-bsp/u-boot/u-boot-fw-utils_2017.01.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2017.01.bb b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2017.01.bb
index f56862cb27..26314990b9 100644
--- a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2017.01.bb
+++ b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2017.01.bb
@@ -1,10 +1,12 @@
1require u-boot-common_${PV}.inc 1require u-boot-common_${PV}.inc
2 2
3SRC_URI += "file://default-gcc.patch"
4
3SUMMARY = "U-Boot bootloader fw_printenv/setenv utilities" 5SUMMARY = "U-Boot bootloader fw_printenv/setenv utilities"
4DEPENDS = "mtd-utils" 6DEPENDS = "mtd-utils"
5 7
6INSANE_SKIP_${PN} = "already-stripped" 8INSANE_SKIP_${PN} = "already-stripped"
7EXTRA_OEMAKE_class-target = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${CC} ${CFLAGS} ${LDFLAGS}" V=1' 9EXTRA_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' 10EXTRA_OEMAKE_class-cross = 'ARCH=${TARGET_ARCH} CC="${CC} ${CFLAGS} ${LDFLAGS}" V=1'
9 11
10inherit uboot-config 12inherit uboot-config