1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

grub2.inc: Use SYSROOT_DIRS_BLACKLIST to exclude dirs from the sysroot

(From OE-Core rev: 9a871ccbdd5224e7d0e2354c0842be742c96eda4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Peter Kjellerstedt
2016-05-12 10:37:59 +02:00
committed by Richard Purdie
parent 4021e9bad6
commit 2997f017dc
+1 -4
View File
@@ -63,7 +63,4 @@ do_configure_prepend() {
# grub and grub-efi's sysroot/${datadir}/grub/grub-mkconfig_lib are
# conflicted, remove it since no one uses it.
SYSROOT_PREPROCESS_FUNCS_class-target += "remove_sysroot_mkconfig_lib"
remove_sysroot_mkconfig_lib() {
rm -r "${SYSROOT_DESTDIR}${datadir}/grub/grub-mkconfig_lib"
}
SYSROOT_DIRS_BLACKLIST += "${datadir}/grub/grub-mkconfig_lib"