summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/util-linux
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-12-30 16:44:48 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-01 10:46:16 +0000
commit1f1d9c25a79b90604a0c43921b32850a6d01e5d3 (patch)
treec0f90178af2446fd61ad83a2da2ea75f36116a26 /meta/recipes-core/util-linux
parent4faf7ddb6ca3d468cfcfed8bb7c0edc2ee655937 (diff)
downloadpoky-1f1d9c25a79b90604a0c43921b32850a6d01e5d3.tar.gz
util-linux: Use PCRE for hardlink
Use PCRE, this enables using posix extended Regexps on cmdline (From OE-Core rev: 7a0fd80d8a5f2aedcccb5a52acca46dea3feb3d8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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