From 9a871ccbdd5224e7d0e2354c0842be742c96eda4 Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Thu, 12 May 2016 10:37:59 +0200 Subject: grub2.inc: Use SYSROOT_DIRS_BLACKLIST to exclude dirs from the sysroot Signed-off-by: Richard Purdie --- meta/recipes-bsp/grub/grub2.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'meta/recipes-bsp/grub') diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc index 146dde60c0..dd1ffe2bdc 100644 --- a/meta/recipes-bsp/grub/grub2.inc +++ b/meta/recipes-bsp/grub/grub2.inc @@ -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" -- cgit v1.2.3