]> code.ossystems Code Review - openembedded-core.git/commitdiff
gettext: Use SYSROOT_DIRS_BLACKLIST to exclude dirs from the sysroot
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Thu, 12 May 2016 08:38:00 +0000 (10:38 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 May 2016 12:40:50 +0000 (13:40 +0100)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/gettext/gettext_0.16.1.bb

index cd0b759d527f7352e93500ad0fe023962c3515b9..6095c83232ebbe356dc41b92c703701819871b45 100644 (file)
@@ -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"