summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/grub
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-bsp/grub
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/grub')
-rw-r--r--meta/recipes-bsp/grub/grub-bootconf_1.00.bb4
-rw-r--r--meta/recipes-bsp/grub/grub-efi_2.06.bb14
-rw-r--r--meta/recipes-bsp/grub/grub2.inc16
-rw-r--r--meta/recipes-bsp/grub/grub_2.06.bb22
4 files changed, 28 insertions, 28 deletions
diff --git a/meta/recipes-bsp/grub/grub-bootconf_1.00.bb b/meta/recipes-bsp/grub/grub-bootconf_1.00.bb
index 572580313b..151e601fd2 100644
--- a/meta/recipes-bsp/grub/grub-bootconf_1.00.bb
+++ b/meta/recipes-bsp/grub/grub-bootconf_1.00.bb
@@ -5,7 +5,7 @@ DESCRIPTION = "Grub might require different configuration file for \
5different machines." 5different machines."
6HOMEPAGE = "https://www.gnu.org/software/grub/manual/grub/grub.html#Configuration" 6HOMEPAGE = "https://www.gnu.org/software/grub/manual/grub/grub.html#Configuration"
7 7
8RPROVIDES_${PN} += "virtual/grub-bootconf" 8RPROVIDES:${PN} += "virtual/grub-bootconf"
9 9
10inherit grub-efi-cfg 10inherit grub-efi-cfg
11 11
@@ -29,4 +29,4 @@ do_install() {
29 install grub-bootconf ${D}${EFI_FILES_PATH}/grub.cfg 29 install grub-bootconf ${D}${EFI_FILES_PATH}/grub.cfg
30} 30}
31 31
32FILES_${PN} = "${EFI_FILES_PATH}/grub.cfg" 32FILES:${PN} = "${EFI_FILES_PATH}/grub.cfg"
diff --git a/meta/recipes-bsp/grub/grub-efi_2.06.bb b/meta/recipes-bsp/grub/grub-efi_2.06.bb
index 287845c507..96e9df88b6 100644
--- a/meta/recipes-bsp/grub/grub-efi_2.06.bb
+++ b/meta/recipes-bsp/grub/grub-efi_2.06.bb
@@ -4,8 +4,8 @@ require conf/image-uefi.conf
4 4
5GRUBPLATFORM = "efi" 5GRUBPLATFORM = "efi"
6 6
7DEPENDS_append = " grub-native" 7DEPENDS:append = " grub-native"
8RDEPENDS_${PN} = "grub-common virtual/grub-bootconf" 8RDEPENDS:${PN} = "grub-common virtual/grub-bootconf"
9 9
10SRC_URI += " \ 10SRC_URI += " \
11 file://cfg \ 11 file://cfg \
@@ -79,13 +79,13 @@ do_deploy() {
79 79
80addtask deploy after do_install before do_build 80addtask deploy after do_install before do_build
81 81
82FILES_${PN} = "${libdir}/grub/${GRUB_TARGET}-efi \ 82FILES:${PN} = "${libdir}/grub/${GRUB_TARGET}-efi \
83 ${datadir}/grub \ 83 ${datadir}/grub \
84 ${EFI_FILES_PATH}/${GRUB_IMAGE} \ 84 ${EFI_FILES_PATH}/${GRUB_IMAGE} \
85 " 85 "
86 86
87# 64-bit binaries are expected for the bootloader with an x32 userland 87# 64-bit binaries are expected for the bootloader with an x32 userland
88INSANE_SKIP_${PN}_append_linux-gnux32 = " arch" 88INSANE_SKIP:${PN}:append:linux-gnux32 = " arch"
89INSANE_SKIP_${PN}-dbg_append_linux-gnux32 = " arch" 89INSANE_SKIP:${PN}-dbg:append:linux-gnux32 = " arch"
90INSANE_SKIP_${PN}_append_linux-muslx32 = " arch" 90INSANE_SKIP:${PN}:append:linux-muslx32 = " arch"
91INSANE_SKIP_${PN}-dbg_append_linux-muslx32 = " arch" 91INSANE_SKIP:${PN}-dbg:append:linux-muslx32 = " arch"
diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc
index 19294760c4..bb791347dc 100644
--- a/meta/recipes-bsp/grub/grub2.inc
+++ b/meta/recipes-bsp/grub/grub2.inc
@@ -30,21 +30,21 @@ CVE_CHECK_WHITELIST += "CVE-2019-14865"
30DEPENDS = "flex-native bison-native gettext-native" 30DEPENDS = "flex-native bison-native gettext-native"
31 31
32COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*|riscv.*)-(linux.*|freebsd.*)' 32COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*|riscv.*)-(linux.*|freebsd.*)'
33COMPATIBLE_HOST_armv7a = 'null' 33COMPATIBLE_HOST:armv7a = 'null'
34COMPATIBLE_HOST_armv7ve = 'null' 34COMPATIBLE_HOST:armv7ve = 'null'
35 35
36# configure.ac has code to set this automagically from the target tuple 36# configure.ac has code to set this automagically from the target tuple
37# but the OE freeform one (core2-foo-bar-linux) don't work with that. 37# but the OE freeform one (core2-foo-bar-linux) don't work with that.
38 38
39GRUBPLATFORM_arm = "efi" 39GRUBPLATFORM:arm = "efi"
40GRUBPLATFORM_aarch64 = "efi" 40GRUBPLATFORM:aarch64 = "efi"
41GRUBPLATFORM_riscv32 = "efi" 41GRUBPLATFORM:riscv32 = "efi"
42GRUBPLATFORM_riscv64 = "efi" 42GRUBPLATFORM:riscv64 = "efi"
43GRUBPLATFORM ??= "pc" 43GRUBPLATFORM ??= "pc"
44 44
45inherit autotools gettext texinfo pkgconfig 45inherit autotools gettext texinfo pkgconfig
46 46
47CFLAGS_remove = "-O2" 47CFLAGS:remove = "-O2"
48 48
49EXTRA_OECONF = "--with-platform=${GRUBPLATFORM} \ 49EXTRA_OECONF = "--with-platform=${GRUBPLATFORM} \
50 --disable-grub-mkfont \ 50 --disable-grub-mkfont \
@@ -70,7 +70,7 @@ BUILD_LDFLAGS = ""
70 70
71export PYTHON = "python3" 71export PYTHON = "python3"
72 72
73do_configure_prepend() { 73do_configure:prepend() {
74 cd ${S} 74 cd ${S}
75 FROM_BOOTSTRAP=1 ${S}/autogen.sh 75 FROM_BOOTSTRAP=1 ${S}/autogen.sh
76 cd ${B} 76 cd ${B}
diff --git a/meta/recipes-bsp/grub/grub_2.06.bb b/meta/recipes-bsp/grub/grub_2.06.bb
index d4e09faa40..05d462785c 100644
--- a/meta/recipes-bsp/grub/grub_2.06.bb
+++ b/meta/recipes-bsp/grub/grub_2.06.bb
@@ -1,24 +1,24 @@
1require grub2.inc 1require grub2.inc
2 2
3RDEPENDS_${PN}-common += "${PN}-editenv" 3RDEPENDS:${PN}-common += "${PN}-editenv"
4RDEPENDS_${PN} += "${PN}-common" 4RDEPENDS:${PN} += "${PN}-common"
5RDEPENDS_${PN}_class-native = "" 5RDEPENDS:${PN}:class-native = ""
6 6
7RPROVIDES_${PN}-editenv += "${PN}-efi-editenv" 7RPROVIDES:${PN}-editenv += "${PN}-efi-editenv"
8 8
9PROVIDES_append_class-native = " grub-efi-native" 9PROVIDES:append:class-native = " grub-efi-native"
10 10
11PACKAGES =+ "${PN}-editenv ${PN}-common" 11PACKAGES =+ "${PN}-editenv ${PN}-common"
12FILES_${PN}-editenv = "${bindir}/grub-editenv" 12FILES:${PN}-editenv = "${bindir}/grub-editenv"
13FILES_${PN}-common = " \ 13FILES:${PN}-common = " \
14 ${bindir} \ 14 ${bindir} \
15 ${sysconfdir} \ 15 ${sysconfdir} \
16 ${sbindir} \ 16 ${sbindir} \
17 ${datadir}/grub \ 17 ${datadir}/grub \
18" 18"
19ALLOW_EMPTY_${PN} = "1" 19ALLOW_EMPTY:${PN} = "1"
20 20
21do_install_append () { 21do_install:append () {
22 # Avoid conflicts with the EFI package for systems such as arm64 where we 22 # Avoid conflicts with the EFI package for systems such as arm64 where we
23 # need to build grub and grub-efi but only EFI is supported by removing EFI 23 # need to build grub and grub-efi but only EFI is supported by removing EFI
24 # from this package. 24 # from this package.
@@ -35,7 +35,7 @@ do_install_append () {
35 {} + 35 {} +
36} 36}
37 37
38INSANE_SKIP_${PN} = "arch" 38INSANE_SKIP:${PN} = "arch"
39INSANE_SKIP_${PN}-dbg = "arch" 39INSANE_SKIP:${PN}-dbg = "arch"
40 40
41BBCLASSEXTEND = "native nativesdk" 41BBCLASSEXTEND = "native nativesdk"