From: Peter Kjellerstedt Date: Thu, 12 May 2016 08:38:00 +0000 (+0200) Subject: gettext: Use SYSROOT_DIRS_BLACKLIST to exclude dirs from the sysroot X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~25922 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6eeb65b5794f5c43d9d8124d23f3f59417a129a6;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git gettext: Use SYSROOT_DIRS_BLACKLIST to exclude dirs from the sysroot Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/gettext/gettext_0.16.1.bb b/meta/recipes-core/gettext/gettext_0.16.1.bb index cd0b759d527..6095c83232e 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"