diff options
Diffstat (limited to 'recipes-core/busybox')
-rw-r--r-- | recipes-core/busybox/busybox/static.cfg | 4 | ||||
-rw-r--r-- | recipes-core/busybox/busybox_%.bbappend | 2 | ||||
-rw-r--r-- | recipes-core/busybox/busybox_vmsep.inc | 8 |
3 files changed, 14 insertions, 0 deletions
diff --git a/recipes-core/busybox/busybox/static.cfg b/recipes-core/busybox/busybox/static.cfg new file mode 100644 index 00000000..72079a1c --- /dev/null +++ b/recipes-core/busybox/busybox/static.cfg | |||
@@ -0,0 +1,4 @@ | |||
1 | CONFIG_STATIC=y | ||
2 | CONFIG_INSTALL=y | ||
3 | CONFIG_FEATURE_INSTALLER=y | ||
4 | |||
diff --git a/recipes-core/busybox/busybox_%.bbappend b/recipes-core/busybox/busybox_%.bbappend index 617caccb..3d39bba3 100644 --- a/recipes-core/busybox/busybox_%.bbappend +++ b/recipes-core/busybox/busybox_%.bbappend | |||
@@ -1 +1,3 @@ | |||
1 | require ${@bb.utils.contains('DISTRO_FEATURES', 'virtualization', '${BPN}_virtualization.inc', '', d)} | 1 | require ${@bb.utils.contains('DISTRO_FEATURES', 'virtualization', '${BPN}_virtualization.inc', '', d)} |
2 | require ${@bb.utils.contains('DISTRO_FEATURES', 'vmsep', '${BPN}_vmsep.inc', '', d)} | ||
3 | |||
diff --git a/recipes-core/busybox/busybox_vmsep.inc b/recipes-core/busybox/busybox_vmsep.inc new file mode 100644 index 00000000..b70a065c --- /dev/null +++ b/recipes-core/busybox/busybox_vmsep.inc | |||
@@ -0,0 +1,8 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/busybox:" | ||
2 | SRC_URI += " \ | ||
3 | file://static.cfg \ | ||
4 | " | ||
5 | |||
6 | # we do this to get the target binary available to recipes that | ||
7 | # depend on busybox | ||
8 | SYSROOT_DIRS += "/bin" | ||