summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2016-05-12 10:37:59 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-13 13:41:28 +0100
commit2997f017dccf4090815c914004664b235ca8ff4a (patch)
tree894af63ebab6ad7dae3fdda38670dc3c98e9b80f /meta
parent4021e9bad64bf9e648dec75cee3b6ab95ed7066a (diff)
downloadpoky-2997f017dccf4090815c914004664b235ca8ff4a.tar.gz
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-bsp/grub/grub2.inc5
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() {
63 63
64# grub and grub-efi's sysroot/${datadir}/grub/grub-mkconfig_lib are 64# grub and grub-efi's sysroot/${datadir}/grub/grub-mkconfig_lib are
65# conflicted, remove it since no one uses it. 65# conflicted, remove it since no one uses it.
66SYSROOT_PREPROCESS_FUNCS_class-target += "remove_sysroot_mkconfig_lib" 66SYSROOT_DIRS_BLACKLIST += "${datadir}/grub/grub-mkconfig_lib"
67remove_sysroot_mkconfig_lib() {
68 rm -r "${SYSROOT_DESTDIR}${datadir}/grub/grub-mkconfig_lib"
69}