diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-12-30 16:44:48 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-01 10:46:16 +0000 |
commit | 1f1d9c25a79b90604a0c43921b32850a6d01e5d3 (patch) | |
tree | c0f90178af2446fd61ad83a2da2ea75f36116a26 | |
parent | 4faf7ddb6ca3d468cfcfed8bb7c0edc2ee655937 (diff) | |
download | poky-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>
-rw-r--r-- | meta/recipes-core/util-linux/util-linux.inc | 7 |
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" | |||
106 | EXTRA_OECONF_append_class-native = " --without-cap-ng --disable-setpriv" | 106 | EXTRA_OECONF_append_class-native = " --without-cap-ng --disable-setpriv" |
107 | EXTRA_OECONF_append_class-nativesdk = " --without-cap-ng --disable-setpriv" | 107 | EXTRA_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 | # | ||
113 | PACKAGECONFIG ?= "pcre2" | ||
109 | PACKAGECONFIG_class-target ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" | 114 | PACKAGECONFIG_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 | |||
117 | PACKAGECONFIG[pylibmount] = "--with-python=3 --enable-pylibmount,--without-python --disable-pylibmount,python3" | 122 | PACKAGECONFIG[pylibmount] = "--with-python=3 --enable-pylibmount,--without-python --disable-pylibmount,python3" |
118 | # Readline support | 123 | # Readline support |
119 | PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" | 124 | PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" |
125 | # PCRE support in hardlink | ||
126 | PACKAGECONFIG[pcre2] = ",,libpcre2" | ||
120 | 127 | ||
121 | EXTRA_OEMAKE = "ARCH=${TARGET_ARCH} CPU= CPUOPT= 'OPT=${CFLAGS}'" | 128 | EXTRA_OEMAKE = "ARCH=${TARGET_ARCH} CPU= CPUOPT= 'OPT=${CFLAGS}'" |
122 | 129 | ||