summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/util-linux
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/util-linux')
-rw-r--r--meta/recipes-core/util-linux/util-linux.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index 1fa82363b1..179cb3dac5 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -106,6 +106,11 @@ EXTRA_OECONF_append_class-target = " --enable-setpriv"
106EXTRA_OECONF_append_class-native = " --without-cap-ng --disable-setpriv" 106EXTRA_OECONF_append_class-native = " --without-cap-ng --disable-setpriv"
107EXTRA_OECONF_append_class-nativesdk = " --without-cap-ng --disable-setpriv" 107EXTRA_OECONF_append_class-nativesdk = " --without-cap-ng --disable-setpriv"
108 108
109# enable pcre2 for native/nativesdk to match host distros
110# this helps to keep same expectations when using the SDK or
111# build host versions during development
112#
113PACKAGECONFIG ?= "pcre2"
109PACKAGECONFIG_class-target ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" 114PACKAGECONFIG_class-target ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}"
110# inherit manpages requires this to be present, however util-linux does not have 115# inherit manpages requires this to be present, however util-linux does not have
111# configuration options, and installs manpages always 116# configuration options, and installs manpages always
@@ -117,6 +122,8 @@ PACKAGECONFIG[systemd] = "--with-systemd --with-systemdsystemunitdir=${systemd_s
117PACKAGECONFIG[pylibmount] = "--with-python=3 --enable-pylibmount,--without-python --disable-pylibmount,python3" 122PACKAGECONFIG[pylibmount] = "--with-python=3 --enable-pylibmount,--without-python --disable-pylibmount,python3"
118# Readline support 123# Readline support
119PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" 124PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline"
125# PCRE support in hardlink
126PACKAGECONFIG[pcre2] = ",,libpcre2"
120 127
121EXTRA_OEMAKE = "ARCH=${TARGET_ARCH} CPU= CPUOPT= 'OPT=${CFLAGS}'" 128EXTRA_OEMAKE = "ARCH=${TARGET_ARCH} CPU= CPUOPT= 'OPT=${CFLAGS}'"
122 129