summaryrefslogtreecommitdiff
path: root/meta/recipes-core/gettext
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:40:50 +0100
commit6eeb65b5794f5c43d9d8124d23f3f59417a129a6 (patch)
tree1b10acec72a2a399b6c64979f4c45dd28d3e738d /meta/recipes-core/gettext
parent9a871ccbdd5224e7d0e2354c0842be742c96eda4 (diff)
downloadopenembedded-core-6eeb65b5794f5c43d9d8124d23f3f59417a129a6.tar.gz
openembedded-core-6eeb65b5794f5c43d9d8124d23f3f59417a129a6.tar.bz2
openembedded-core-6eeb65b5794f5c43d9d8124d23f3f59417a129a6.zip
gettext: Use SYSROOT_DIRS_BLACKLIST to exclude dirs from the sysroot
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/gettext')
-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"