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:
Bruce Ashfield 2019-12-17 17:36:17 -08:00
parent 70d878ec1a
commit 4f3d9f478f

View 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)}"