summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-04-25 15:44:06 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-01 12:38:08 +0100
commit60e2345f1bbdc14e94d3d2aad86c2ddb1fc10ce7 (patch)
treef0d430a6d8cc53161ff62f044ba7444e8e9eae10
parentcde6bce4b7dd04afbc51aa9295a6757d2b8ee0ba (diff)
downloadpoky-60e2345f1bbdc14e94d3d2aad86c2ddb1fc10ce7.tar.gz
busybox: Pass HOST_CC_ARCH through CONFIG_EXTRA_CFLAGS
The -mabi option is part of HOST_CC_ARCH which does not appear in CFLAGS. This is for completeness since compiler already defaults to n64 it wont matter that much (From OE-Core rev: 2aa0540515efc15957101e24224b425ee00446d9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/busybox/busybox.inc2
-rw-r--r--meta/recipes-core/busybox/busybox_1.19.4.bb2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index ec76ad2902..1613878c3f 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -86,7 +86,7 @@ python () {
86 d.setVar('configmangle_append', 86 d.setVar('configmangle_append',
87 "/^### CROSS$/a\\\n%s\n" % 87 "/^### CROSS$/a\\\n%s\n" %
88 ("\\n".join(["CONFIG_CROSS_COMPILER_PREFIX=\"${TARGET_PREFIX}\"", 88 ("\\n".join(["CONFIG_CROSS_COMPILER_PREFIX=\"${TARGET_PREFIX}\"",
89 "CONFIG_EXTRA_CFLAGS=\"${CFLAGS}\"" 89 "CONFIG_EXTRA_CFLAGS=\"${CFLAGS}\" \"${HOST_CC_ARCH}\""
90 ]) 90 ])
91 )) 91 ))
92} 92}
diff --git a/meta/recipes-core/busybox/busybox_1.19.4.bb b/meta/recipes-core/busybox/busybox_1.19.4.bb
index ad8297ec94..2d4e96106c 100644
--- a/meta/recipes-core/busybox/busybox_1.19.4.bb
+++ b/meta/recipes-core/busybox/busybox_1.19.4.bb
@@ -1,5 +1,5 @@
1require busybox.inc 1require busybox.inc
2PR = "r2" 2PR = "r3"
3 3
4SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ 4SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
5 file://udhcpscript.patch \ 5 file://udhcpscript.patch \