summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox/busybox.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/busybox/busybox.inc')
-rw-r--r--meta/recipes-core/busybox/busybox.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index f8fee51725..0b74ea6780 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -49,8 +49,8 @@ def busybox_cfg(feature, features, tokens, cnf, rem):
49# Map distro and machine features to config settings 49# Map distro and machine features to config settings
50def features_to_busybox_settings(d): 50def features_to_busybox_settings(d):
51 cnf, rem = ([], []) 51 cnf, rem = ([], [])
52 distro_features = bb.data.getVar('DISTRO_FEATURES', d, True).split() 52 distro_features = d.getVar('DISTRO_FEATURES', True).split()
53 machine_features = bb.data.getVar('MACHINE_FEATURES', d, True).split() 53 machine_features = d.getVar('MACHINE_FEATURES', True).split()
54 busybox_cfg('ipv6', distro_features, 'CONFIG_FEATURE_IPV6', cnf, rem) 54 busybox_cfg('ipv6', distro_features, 'CONFIG_FEATURE_IPV6', cnf, rem)
55 busybox_cfg('largefile', distro_features, 'CONFIG_LFS', cnf, rem) 55 busybox_cfg('largefile', distro_features, 'CONFIG_LFS', cnf, rem)
56 busybox_cfg('largefile', distro_features, 'CONFIG_FDISK_SUPPORT_LARGE_DISKS', cnf, rem) 56 busybox_cfg('largefile', distro_features, 'CONFIG_FDISK_SUPPORT_LARGE_DISKS', cnf, rem)
@@ -79,7 +79,7 @@ DO_IPv6 := ${@base_contains('DISTRO_FEATURES', 'ipv6', 1, 0, d)}
79 79
80python () { 80python () {
81 if "${OE_DEL}": 81 if "${OE_DEL}":
82 bb.data.setVar('configmangle_append', "${OE_DEL}" + "\n", d) 82 d.setVar('configmangle_append', "${OE_DEL}" + "\n")
83 if "${OE_FEATURES}": 83 if "${OE_FEATURES}":
84 bb.data.setVar('configmangle_append', 84 bb.data.setVar('configmangle_append',
85 "/^### DISTRO FEATURES$/a\\\n%s\n\n" % 85 "/^### DISTRO FEATURES$/a\\\n%s\n\n" %