aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
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/recipes-core
parent2997f017dccf4090815c914004664b235ca8ff4a (diff)
downloadopenembedded-core-contrib-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/recipes-core')
-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() {
# available, and we don't want to use older macros from the target gettext in
# a non-gplv3 build, so kill them and let dependent recipes rely on
# gettext-native.
-
-SYSROOT_PREPROCESS_FUNCS += "remove_sysroot_m4_macros"
-
-remove_sysroot_m4_macros () {
- rm -r "${SYSROOT_DESTDIR}${datadir}/aclocal"
-}
+SYSROOT_DIRS_BLACKLIST += "${datadir}/aclocal"
BBCLASSEXTEND = "native nativesdk"