summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r--meta/recipes-bsp/grub/grub-efi_2.02.bb10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-bsp/grub/grub-efi_2.02.bb b/meta/recipes-bsp/grub/grub-efi_2.02.bb
index b949bebced..44e32a88f1 100644
--- a/meta/recipes-bsp/grub/grub-efi_2.02.bb
+++ b/meta/recipes-bsp/grub/grub-efi_2.02.bb
@@ -41,6 +41,16 @@ do_install_class-native() {
41 install -m 755 grub-mkimage ${D}${bindir} 41 install -m 755 grub-mkimage ${D}${bindir}
42} 42}
43 43
44do_install_append_class-target() {
45 # Remove build host references...
46 find "${D}" -name modinfo.sh -type f -exec \
47 sed -i \
48 -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \
49 -e 's|${DEBUG_PREFIX_MAP}||g' \
50 -e 's:${RECIPE_SYSROOT_NATIVE}::g' \
51 {} +
52}
53
44GRUB_BUILDIN ?= "boot linux ext2 fat serial part_msdos part_gpt normal efi_gop iso9660 search" 54GRUB_BUILDIN ?= "boot linux ext2 fat serial part_msdos part_gpt normal efi_gop iso9660 search"
45 55
46do_deploy() { 56do_deploy() {