From 0a434ac10158e2011d41a1189e65e9474b1672be Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 25 Nov 2011 14:25:16 +0000 Subject: 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 --- meta/recipes-core/busybox/busybox.inc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'meta/recipes-core/busybox') 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 () { if "${OE_DEL}": d.setVar('configmangle_append', "${OE_DEL}" + "\n") if "${OE_FEATURES}": - bb.data.setVar('configmangle_append', + d.setVar('configmangle_append', "/^### DISTRO FEATURES$/a\\\n%s\n\n" % - ("\\n".join((bb.data.expand("${OE_FEATURES}", d).split("\n")))), - d) - bb.data.setVar('configmangle_append', + ("\\n".join((bb.data.expand("${OE_FEATURES}", d).split("\n"))))) + d.setVar('configmangle_append', "/^### CROSS$/a\\\n%s\n" % ("\\n".join(["CONFIG_CROSS_COMPILER_PREFIX=\"${TARGET_PREFIX}\"", "CONFIG_EXTRA_CFLAGS=\"${CFLAGS}\"" ]) - ), - d) + )) } do_prepare_config () { -- cgit v1.2.3-54-g00ecf