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>
This commit is contained in:
Peter Kjellerstedt
2016-05-12 10:38:00 +02:00
committed by Richard Purdie
parent 2997f017dc
commit 2aa49bc843

View 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"