diff options
| -rw-r--r-- | meta/recipes-core/busybox/busybox.inc | 6 |
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 | ||
| 83 | configmangle = '/CROSS_COMPILER_PREFIX/d; \ | 83 | configmangle = '/CONFIG_EXTRA_CFLAGS/d; \ |
| 84 | /CONFIG_EXTRA_CFLAGS/d; \ | ||
| 85 | ' | 84 | ' |
| 86 | OE_FEATURES := "${@features_to_busybox_conf(d)}" | 85 | OE_FEATURES := "${@features_to_busybox_conf(d)}" |
| 87 | OE_DEL := "${@features_to_busybox_del(d)}" | 86 | OE_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 | } |
