summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-25 14:25:16 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-27 10:25:34 +0000
commit0a434ac10158e2011d41a1189e65e9474b1672be (patch)
tree6171516b25cb337343a6373e34aec0d061e4f5e8 /meta/recipes-core/busybox
parent71fded5145454b144413057e11f78f718d947093 (diff)
downloadpoky-0a434ac10158e2011d41a1189e65e9474b1672be.tar.gz
getVar/setVar cleanups
Complete the bb.data.getVar/setVar replacements with accesses directly to the data store object. (From OE-Core rev: 2864ff6a4b3c3f9b3bbb6d2597243cc5d3715939) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/busybox')
-rw-r--r--meta/recipes-core/busybox/busybox.inc10
1 files changed, 4 insertions, 6 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index 0b74ea6780..b948e2ce6b 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -81,17 +81,15 @@ python () {
81 if "${OE_DEL}": 81 if "${OE_DEL}":
82 d.setVar('configmangle_append', "${OE_DEL}" + "\n") 82 d.setVar('configmangle_append', "${OE_DEL}" + "\n")
83 if "${OE_FEATURES}": 83 if "${OE_FEATURES}":
84 bb.data.setVar('configmangle_append', 84 d.setVar('configmangle_append',
85 "/^### DISTRO FEATURES$/a\\\n%s\n\n" % 85 "/^### DISTRO FEATURES$/a\\\n%s\n\n" %
86 ("\\n".join((bb.data.expand("${OE_FEATURES}", d).split("\n")))), 86 ("\\n".join((bb.data.expand("${OE_FEATURES}", d).split("\n")))))
87 d) 87 d.setVar('configmangle_append',
88 bb.data.setVar('configmangle_append',
89 "/^### CROSS$/a\\\n%s\n" % 88 "/^### CROSS$/a\\\n%s\n" %
90 ("\\n".join(["CONFIG_CROSS_COMPILER_PREFIX=\"${TARGET_PREFIX}\"", 89 ("\\n".join(["CONFIG_CROSS_COMPILER_PREFIX=\"${TARGET_PREFIX}\"",
91 "CONFIG_EXTRA_CFLAGS=\"${CFLAGS}\"" 90 "CONFIG_EXTRA_CFLAGS=\"${CFLAGS}\""
92 ]) 91 ])
93 ), 92 ))
94 d)
95} 93}
96 94
97do_prepare_config () { 95do_prepare_config () {