diff options
Diffstat (limited to 'meta/recipes-bsp/grub/grub-efi_2.02.bb')
-rw-r--r-- | meta/recipes-bsp/grub/grub-efi_2.02.bb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/meta/recipes-bsp/grub/grub-efi_2.02.bb b/meta/recipes-bsp/grub/grub-efi_2.02.bb index 128da162d0..112a99dcfb 100644 --- a/meta/recipes-bsp/grub/grub-efi_2.02.bb +++ b/meta/recipes-bsp/grub/grub-efi_2.02.bb | |||
@@ -3,7 +3,7 @@ require grub2.inc | |||
3 | GRUBPLATFORM = "efi" | 3 | GRUBPLATFORM = "efi" |
4 | 4 | ||
5 | DEPENDS_append_class-target = " grub-efi-native" | 5 | DEPENDS_append_class-target = " grub-efi-native" |
6 | RDEPENDS_${PN}_class-target = "diffutils freetype" | 6 | RDEPENDS_${PN}_class-target = "diffutils freetype grub-common" |
7 | 7 | ||
8 | SRC_URI += " \ | 8 | SRC_URI += " \ |
9 | file://cfg \ | 9 | file://cfg \ |
@@ -41,7 +41,9 @@ do_install_class-native() { | |||
41 | install -m 755 grub-mkimage ${D}${bindir} | 41 | install -m 755 grub-mkimage ${D}${bindir} |
42 | } | 42 | } |
43 | 43 | ||
44 | do_install_append_class-target() { | 44 | do_install_class-target() { |
45 | oe_runmake 'DESTDIR=${D}' -C grub-core install | ||
46 | |||
45 | # Remove build host references... | 47 | # Remove build host references... |
46 | find "${D}" -name modinfo.sh -type f -exec \ | 48 | find "${D}" -name modinfo.sh -type f -exec \ |
47 | sed -i \ | 49 | sed -i \ |
@@ -69,8 +71,7 @@ do_deploy_class-native() { | |||
69 | 71 | ||
70 | addtask deploy after do_install before do_build | 72 | addtask deploy after do_install before do_build |
71 | 73 | ||
72 | FILES_${PN} += "${libdir}/grub/${GRUB_TARGET}-efi \ | 74 | FILES_${PN} = "${libdir}/grub/${GRUB_TARGET}-efi \ |
73 | ${datadir}/grub \ | ||
74 | " | 75 | " |
75 | 76 | ||
76 | # 64-bit binaries are expected for the bootloader with an x32 userland | 77 | # 64-bit binaries are expected for the bootloader with an x32 userland |