[OE-core] [PATCH v3] binutils : enable x86_64-pep for producing EFI binaries on x86/x86-64

Christopher Clark christopher.w.clark at gmail.com
Fri Jul 27 18:46:07 UTC 2018


On Fri, Jul 27, 2018 at 10:31 AM, Burton, Ross <ross.burton at intel.com>
wrote:

> On 27 July 2018 at 00:51, Christopher Clark
> <christopher.w.clark at gmail.com> wrote:
> > @@ -74,12 +74,17 @@ EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
> >                  --enable-deterministic-archives \
> >                  --enable-plugins \
> >                  ${LDGOLD} \
> > -                ${@bb.utils.contains('DISTRO_FEATURES', 'multiarch',
> '--enable-64-bit-bfd', '', d)}"
> > +                ${@bb.utils.contains('DISTRO_FEATURES', 'multiarch',
> '--enable-64-bit-bfd', '', d)} \
> > +                ${ENABLE_EXTRA_TARGETS}"
> >
> >  LDGOLD_class-native = ""
> >  LDGOLD_class-crosssdk = ""
> >  LDGOLD ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold',
> '--enable-gold=default --enable-threads', '--enable-gold
> --enable-ld=default --enable-threads', d)}"
> >
> > +ARCH_EFI_EMULATION_x86-64 = "x86_64-pep"
> > +ARCH_EFI_EMULATION_x86 = "x86_64-pep"
> > +ENABLE_EXTRA_TARGETS ?= "--enable-targets=${ARCH_EFI_EMULATION}"
>
> Can't believe I didn't spot this when reviewing by hand but:
>
> | checking for archiver @FILE support... configure: error:
> --enable-targets option must specify target names or 'all'
>
>
> Under non-x86, this passes --enable-targets=
>

Groan, oops - that makes sense. Will repin with a fix.

thanks

Christopher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180727/946b2802/attachment-0002.html>


More information about the Openembedded-core mailing list