diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2015-10-05 14:59:14 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-01 21:32:11 +0000 |
commit | bf28ea907feae0487fffa501e4fb9649928e8216 (patch) | |
tree | bf90e72aced1646dbf6daf6b1dcfc3336a61fc86 /meta | |
parent | f21dce10448200099a7368803e6c45b003644a5c (diff) | |
download | poky-bf28ea907feae0487fffa501e4fb9649928e8216.tar.gz |
busybox.inc: set CC=${CC} via make command line
Busybox currently relies on 'make -e' to over-ride CC and the make
command line to over-ride LD. Set CC via the make command line to be
consistent with LD and to allow '-e' to be dropped from EXTRA_OEMAKE.
(From OE-Core rev: b7c265e1edd5c82126c1f3915ba5ca9efef57c00)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
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-core/busybox/busybox.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc index 03b6cf2944..1293b0762e 100644 --- a/meta/recipes-core/busybox/busybox.inc +++ b/meta/recipes-core/busybox/busybox.inc | |||
@@ -18,7 +18,7 @@ BUSYBOX_SPLIT_SUID ?= "1" | |||
18 | export EXTRA_CFLAGS = "${CFLAGS}" | 18 | export EXTRA_CFLAGS = "${CFLAGS}" |
19 | export EXTRA_LDFLAGS = "${LDFLAGS}" | 19 | export EXTRA_LDFLAGS = "${LDFLAGS}" |
20 | 20 | ||
21 | EXTRA_OEMAKE += "LD='${CCLD}' V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y" | 21 | EXTRA_OEMAKE += "CC='${CC}' LD='${CCLD}' V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y" |
22 | 22 | ||
23 | PACKAGES =+ "${PN}-httpd ${PN}-udhcpd ${PN}-udhcpc ${PN}-syslog ${PN}-mdev ${PN}-hwclock" | 23 | PACKAGES =+ "${PN}-httpd ${PN}-udhcpd ${PN}-udhcpc ${PN}-syslog ${PN}-mdev ${PN}-hwclock" |
24 | 24 | ||