mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00

We already have a distro feature that controls the static/non-static configuration of libgcrypt: 'vmsep' To avoid build errors on distros that don't have static libgcrypt available, we move the CONFIG_STATIC config to a fragment and only enable it whent he distro feature is set. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
22 lines
709 B
BlitzBasic
22 lines
709 B
BlitzBasic
FILESEXTRAPATHS_prepend := "${THISDIR}/busybox-initrd:${COREBASE}/meta/recipes-core/busybox/busybox:${COREBASE}/meta/recipes-core/busybox/files:"
|
|
|
|
require recipes-core/busybox/busybox_${PV}.bb
|
|
|
|
SRC_URI += "file://init.cfg \
|
|
file://mdev.cfg \
|
|
file://runx.cfg \
|
|
${@bb.utils.contains('DISTRO_FEATURES', 'vmsep', 'file://static.cfg', '', d)} \
|
|
file://initrd.cfg"
|
|
|
|
S = "${WORKDIR}/busybox-${PV}"
|
|
|
|
# override security-flags settings, we have some warnings to ignore
|
|
SECURITY_STRINGFORMAT = ""
|
|
|
|
# we do this to get the target binary available to recipes that
|
|
# depend on busybox
|
|
SYSROOT_DIRS += "/bin"
|
|
BUSYBOX_SPLIT_SUID = "0"
|
|
|
|
FILES_${PN} += "${sysconfdir}/init.d/*"
|