[OE-core] [PATCH 1/1] grub_git: remove armv7a from COMPATIBLE_HOST

Chen Qi Qi.Chen at windriver.com
Tue Apr 5 03:10:13 UTC 2016


grub_git recipe supports arm architectures. However, when building against
armv7a arch, we would meet the following error.

| build-grub-module-verifier: error: unsupported relocation 0x2b.
| make[3]: *** [disk.mod] Error 1
| make[3]: *** Waiting for unfinished jobs....
| build-grub-module-verifier: error: unsupported relocation 0x2b.
| make[3]: *** [cat.mod] Error 1
| build-grub-module-verifier: error: unsupported relocation 0x2b.
| make[3]: *** [cmp.mod] Error 1

This address, along with 0x2c, is not supported yet, according to grub
upstream.

So remove armv7a from COMPATIBLE_HOST for now.

Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
---
 meta/recipes-bsp/grub/grub_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-bsp/grub/grub_git.bb b/meta/recipes-bsp/grub/grub_git.bb
index 3ebab7f..2b435b7 100644
--- a/meta/recipes-bsp/grub/grub_git.bb
+++ b/meta/recipes-bsp/grub/grub_git.bb
@@ -18,6 +18,7 @@ SRC_URI = "git://git.savannah.gnu.org/grub.git \
 S = "${WORKDIR}/git"
 
 COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)'
+COMPATIBLE_HOST_armv7a = 'null'
 
 inherit autotools gettext texinfo
 
-- 
1.9.1




More information about the Openembedded-core mailing list