summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2016-05-12 10:38:00 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-13 13:41:28 +0100
commit2aa49bc84391cbd8414894f7a787f7ba935f7996 (patch)
treea4c9d47db9f976fa8c7bf84528b7648b996978f9 /meta
parent2997f017dccf4090815c914004664b235ca8ff4a (diff)
downloadpoky-2aa49bc84391cbd8414894f7a787f7ba935f7996.tar.gz
gettext: Use SYSROOT_DIRS_BLACKLIST to exclude dirs from the sysroot
(From OE-Core rev: 6eeb65b5794f5c43d9d8124d23f3f59417a129a6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/gettext/gettext_0.16.1.bb7
1 files changed, 1 insertions, 6 deletions
diff --git a/meta/recipes-core/gettext/gettext_0.16.1.bb b/meta/recipes-core/gettext/gettext_0.16.1.bb
index cd0b759d52..6095c83232 100644
--- a/meta/recipes-core/gettext/gettext_0.16.1.bb
+++ b/meta/recipes-core/gettext/gettext_0.16.1.bb
@@ -102,11 +102,6 @@ do_install_append() {
102# available, and we don't want to use older macros from the target gettext in 102# available, and we don't want to use older macros from the target gettext in
103# a non-gplv3 build, so kill them and let dependent recipes rely on 103# a non-gplv3 build, so kill them and let dependent recipes rely on
104# gettext-native. 104# gettext-native.
105 105SYSROOT_DIRS_BLACKLIST += "${datadir}/aclocal"
106SYSROOT_PREPROCESS_FUNCS += "remove_sysroot_m4_macros"
107
108remove_sysroot_m4_macros () {
109 rm -r "${SYSROOT_DESTDIR}${datadir}/aclocal"
110}
111 106
112BBCLASSEXTEND = "native nativesdk" 107BBCLASSEXTEND = "native nativesdk"