summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/grub/grub2.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp/grub/grub2.inc')
-rw-r--r--meta/recipes-bsp/grub/grub2.inc16
1 files changed, 8 insertions, 8 deletions
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}