diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2015-10-05 15:46:05 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-01 21:31:01 +0000 |
commit | 5f822373fadff2415cf1602b9d58fae0dbd33730 (patch) | |
tree | cc6ddefe7b5e50b5b3111e818c4ffb28f9c948c9 /meta/recipes-core | |
parent | db2daff77a9d533dc03ab3aaeffa87e32f834240 (diff) | |
download | openembedded-core-5f822373fadff2415cf1602b9d58fae0dbd33730.tar.gz openembedded-core-5f822373fadff2415cf1602b9d58fae0dbd33730.tar.bz2 openembedded-core-5f822373fadff2415cf1602b9d58fae0dbd33730.zip |
busybox.inc: fix CONFIG_EXTRA_CFLAGS configmangle
With current busybox Kbuild, setting .config to:
CONFIG_EXTRA_CFLAGS="foo" "bar"
and then running 'make oldconfig' results in .config containing:
CONFIG_EXTRA_CFLAGS="foo"
ie the CONFIG_EXTRA_CFLAGS configmangle in the busybox.inc doesn't
currently work as intended. Remove the extra \" \" to ensure that
${HOST_CC_ARCH} gets added to CONFIG_EXTRA_CFLAGS.
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-core')
-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 57da1dbc78..03b6cf2944 100644 --- a/meta/recipes-core/busybox/busybox.inc +++ b/meta/recipes-core/busybox/busybox.inc @@ -96,7 +96,7 @@ python () { ("\\n".join((d.expand("${OE_FEATURES}").split("\n"))))) d.setVar('configmangle_append', "/^### CROSS$/a\\\n%s\n" % - ("\\n".join(["CONFIG_EXTRA_CFLAGS=\"${CFLAGS}\" \"${HOST_CC_ARCH}\"" + ("\\n".join(["CONFIG_EXTRA_CFLAGS=\"${CFLAGS} ${HOST_CC_ARCH}\"" ]) )) } |