On Mon, Apr 4, 2016 at 8:10 PM, Chen Qi <[email protected]> wrote: > 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.
Unless you have verified that armv4, armv5, armv6 and armv7ve all work correctly then blacklisting only armv7a is probably not the correct approach. > Signed-off-by: Chen Qi <[email protected]> > --- > 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 > > -- > _______________________________________________ > Openembedded-core mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
