summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/busybox')
-rw-r--r--meta/recipes-core/busybox/busybox.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index ac534a4acb..57da1dbc78 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -80,8 +80,7 @@ def features_to_busybox_del(d):
80 cnf, rem = features_to_busybox_settings(d) 80 cnf, rem = features_to_busybox_settings(d)
81 return rem 81 return rem
82 82
83configmangle = '/CROSS_COMPILER_PREFIX/d; \ 83configmangle = '/CONFIG_EXTRA_CFLAGS/d; \
84 /CONFIG_EXTRA_CFLAGS/d; \
85 ' 84 '
86OE_FEATURES := "${@features_to_busybox_conf(d)}" 85OE_FEATURES := "${@features_to_busybox_conf(d)}"
87OE_DEL := "${@features_to_busybox_del(d)}" 86OE_DEL := "${@features_to_busybox_del(d)}"
@@ -97,8 +96,7 @@ python () {
97 ("\\n".join((d.expand("${OE_FEATURES}").split("\n"))))) 96 ("\\n".join((d.expand("${OE_FEATURES}").split("\n")))))
98 d.setVar('configmangle_append', 97 d.setVar('configmangle_append',
99 "/^### CROSS$/a\\\n%s\n" % 98 "/^### CROSS$/a\\\n%s\n" %
100 ("\\n".join(["CONFIG_CROSS_COMPILER_PREFIX=\"${TARGET_PREFIX}\"", 99 ("\\n".join(["CONFIG_EXTRA_CFLAGS=\"${CFLAGS}\" \"${HOST_CC_ARCH}\""
101 "CONFIG_EXTRA_CFLAGS=\"${CFLAGS}\" \"${HOST_CC_ARCH}\""
102 ]) 100 ])
103 )) 101 ))
104} 102}