mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 21:32:13 +02:00
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:
committed by
Richard Purdie
parent
2997f017dc
commit
2aa49bc843
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user