summaryrefslogtreecommitdiffstats
path: root/recipes-core
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@xilinx.com>2019-12-17 17:36:17 -0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2020-03-11 12:20:04 -0400
commit908807cea6b7fe5d1ee3df7250c4bc225a366d66 (patch)
tree7f726f5b34a35b0cdc1981442a0d748570b41160 /recipes-core
parent40f158dbf8d017a5d2c6c5ce13f476adb9b10589 (diff)
downloadmeta-virtualization-908807cea6b7fe5d1ee3df7250c4bc225a366d66.tar.gz
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>
Diffstat (limited to 'recipes-core')
-rw-r--r--recipes-core/libxcrypt/libxcrypt.bbappend4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-core/libxcrypt/libxcrypt.bbappend b/recipes-core/libxcrypt/libxcrypt.bbappend
new file mode 100644
index 00000000..0b4fbb3d
--- /dev/null
+++ b/recipes-core/libxcrypt/libxcrypt.bbappend
@@ -0,0 +1,4 @@
1# if vmsep is in distro features, we need a static libxycryp, so we can build
2# a static busybox. The end result of this is:
3# EXTRA_OECONF_remove = "--disable-static"
4EXTRA_OECONF_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'vmsep', '--disable-static', '', d)}"