diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2016-05-12 10:37:59 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-13 13:40:50 +0100 |
commit | 9a871ccbdd5224e7d0e2354c0842be742c96eda4 (patch) | |
tree | 66982ffb25265c21cd7ecb5d2a5ef75d5337f81d /meta/recipes-bsp/grub | |
parent | e843e7d6cb01fe2f4f9d7c7a881e87ceaed2b794 (diff) | |
download | openembedded-core-9a871ccbdd5224e7d0e2354c0842be742c96eda4.tar.gz openembedded-core-9a871ccbdd5224e7d0e2354c0842be742c96eda4.tar.bz2 openembedded-core-9a871ccbdd5224e7d0e2354c0842be742c96eda4.zip |
grub2.inc: Use SYSROOT_DIRS_BLACKLIST to exclude dirs from the sysroot
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/grub')
-rw-r--r-- | meta/recipes-bsp/grub/grub2.inc | 5 |
1 files changed, 1 insertions, 4 deletions
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" |