summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorStefan Müller-Klieser <s.mueller-klieser@phytec.de>2018-01-05 16:31:54 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-06 22:32:22 +0000
commit0204af246714d8ce16b346011ee1e0aa9e7c93bf (patch)
treef6820ac2b3e0276e3a1690e3fd01b02c3768faa5 /meta/recipes-support
parent3ab6e17ffeabc7c82d35ab2c01a85b6286ddfa34 (diff)
downloadpoky-0204af246714d8ce16b346011ee1e0aa9e7c93bf.tar.gz
libpcre2: add packages for 16-bit and 32-bit code unit support
The packages loosely follow the debian package names. In that way more projects, e.g. Qt5 for 16-bit, are able use system libraries. This does not change the existing default package. (From OE-Core rev: 5ce6409fd588605648a51bd2f5825fd9ae147f79) Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/libpcre/libpcre2_10.30.bb7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-support/libpcre/libpcre2_10.30.bb b/meta/recipes-support/libpcre/libpcre2_10.30.bb
index a7df055906..46c2d630e5 100644
--- a/meta/recipes-support/libpcre/libpcre2_10.30.bb
+++ b/meta/recipes-support/libpcre/libpcre2_10.30.bb
@@ -33,8 +33,9 @@ EXTRA_OECONF = "\
33 --enable-rebuild-chartables \ 33 --enable-rebuild-chartables \
34 --with-link-size=2 \ 34 --with-link-size=2 \
35 --with-match-limit=10000000 \ 35 --with-match-limit=10000000 \
36 --enable-pcre2-16 \
37 --enable-pcre2-32 \
36" 38"
37
38# Set LINK_SIZE in BUILD_CFLAGS given that the autotools bbclass use it to 39# Set LINK_SIZE in BUILD_CFLAGS given that the autotools bbclass use it to
39# set CFLAGS_FOR_BUILD, required for the libpcre build. 40# set CFLAGS_FOR_BUILD, required for the libpcre build.
40BUILD_CFLAGS =+ "-DLINK_SIZE=2 -I${B}/src" 41BUILD_CFLAGS =+ "-DLINK_SIZE=2 -I${B}/src"
@@ -43,13 +44,15 @@ CXXFLAGS_append_powerpc = " -lstdc++"
43 44
44export CCLD_FOR_BUILD ="${BUILD_CCLD}" 45export CCLD_FOR_BUILD ="${BUILD_CCLD}"
45 46
46PACKAGES =+ "pcre2grep pcre2grep-doc pcre2test pcre2test-doc" 47PACKAGES =+ "libpcre2-16 libpcre2-32 pcre2grep pcre2grep-doc pcre2test pcre2test-doc"
47 48
48SUMMARY_pcre2grep = "grep utility that uses perl 5 compatible regexes" 49SUMMARY_pcre2grep = "grep utility that uses perl 5 compatible regexes"
49SUMMARY_pcre2grep-doc = "grep utility that uses perl 5 compatible regexes - docs" 50SUMMARY_pcre2grep-doc = "grep utility that uses perl 5 compatible regexes - docs"
50SUMMARY_pcre2test = "program for testing Perl-comatible regular expressions" 51SUMMARY_pcre2test = "program for testing Perl-comatible regular expressions"
51SUMMARY_pcre2test-doc = "program for testing Perl-comatible regular expressions - docs" 52SUMMARY_pcre2test-doc = "program for testing Perl-comatible regular expressions - docs"
52 53
54FILES_libpcre2-16 = "${libdir}/libpcre2-16.so.*"
55FILES_libpcre2-32 = "${libdir}/libpcre2-32.so.*"
53FILES_pcre2grep = "${bindir}/pcre2grep" 56FILES_pcre2grep = "${bindir}/pcre2grep"
54FILES_pcre2grep-doc = "${mandir}/man1/pcre2grep.1" 57FILES_pcre2grep-doc = "${mandir}/man1/pcre2grep.1"
55FILES_pcre2test = "${bindir}/pcre2test" 58FILES_pcre2test = "${bindir}/pcre2test"