[oe] RFC: Adding a new global MACHINE_ENDIAN variable

Koen Kooi koen at dominion.kabel.utwente.nl
Mon Jan 22 17:01:01 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rod Whitby schreef:
> There exist machines (like the ixp4xx range of processors) which can be
> run in either little-endian or big-endian mode, and both modes are
> supported by OE.
> 
> I propose a new "MACHINE_ENDIAN" (naming courtesy of RP) variable to do
> this selection (i.e. for machines that support both, the build can be
> selected in local.conf).

No, that's just needles confusion, just make a .inc file (like ixp4xx.inc) that has the
common bits and 2 machine files that set up the appropriate endiannes stuff. That way you
can use machine overrides to configure stuff instead of putting more anonymous python
functions in the metadata.

regards,

Koen "stop adding MAGIC_VARs" Kooi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFtO3NMkyGM64RGpERAnveAKCB2/xOEcBcMmF4CDPF7kAqAGQS+ACfetns
soDxhcws50KBPKr71LbmEqk=
=Hsop
-----END PGP SIGNATURE-----




More information about the Openembedded-devel mailing list