mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
libxycrypt: build static libraries if 'vmsep' is in distro_features
If vmsep is a distro feature, we need to allow the static libraries to be built (so we remove --diable-static). Without this, busybox cannot be statically built and we can't (easily) use it as part of an initrd. Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com>
This commit is contained in:
parent
70d878ec1a
commit
4f3d9f478f
4
recipes-core/libxcrypt/libxcrypt.bbappend
Normal file
4
recipes-core/libxcrypt/libxcrypt.bbappend
Normal file
|
@ -0,0 +1,4 @@
|
|||
# if vmsep is in distro features, we need a static libxycryp, so we can build
|
||||
# a static busybox. The end result of this is:
|
||||
# EXTRA_OECONF_remove = "--disable-static"
|
||||
EXTRA_OECONF_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'vmsep', '--disable-static', '', d)}"
|
Loading…
Reference in New Issue
Block a user