Hi,

sorry for joining the party here a bit late.

On Wed, 2017-06-28 at 16:06 +0200, Jan Kiszka wrote:
> > +To cross-compile, the environment variables must be set
> > accordingly, i.e.
> > +`CXX=<compiler-to-use>`. The cross-compiler prefix
> > `CROSS_COMPILE=` does *NOT*
> > +work. The following example shows how to specify needed paths for
> > an out-of-tree
> > +build, where cross-compilation environment variables have already
> > been set

Just as a question. Should the `CROSS_COMPILE` prefix be used?

I normally use just a yocto toolchain environment and that defines
everything necessary.

> > +before:
> > +
> > +```
> > +mkdir build
> > +cd build
> > +autoreconf --install ..
> > +../configure --host=i586 --with-gnuefi-sys-dir=<sys-root-dir> \
> > + --with-gnuefi-include-dir=<sys-root-dir>/usr/include/efi \
> > + --with-gnuefi-lds-dir=<sys-root-dir>/usr/lib \
> > + --with-gnuefi-lib-dir=<sys-root-dir>/usr/lib
> > +make

Also `host=i596` should be variable, depending on your chosen
architecture.

Currently supported are: i586* i686* x86_64* ia64*

Maybe that should be documented as well somewhere apart from the
configure.ac script.

Cheers,
Claudius

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: [email protected]

            PGP key: 6FF2 E59F 00C6 BC28 31D8 64C1 1173 CB19 9808 B153
                              Keyserver: hkp://pool.sks-keyservers.net

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/1498659682.30653.2.camel%40denx.de.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to