[oe] OABI/EABI specific autotools settings

Gergely Kis openmoko at kisgergely.com
Sun Sep 16 21:44:05 UTC 2007


Hello,

I was trying to use Orbit2 on an ARM EABI system (Openmoko 2007.2 on
QEMU), but I ran into alignment issues: the autotools presets in
site/arm-common assumed OABI structure alignment. The following
trivial patch fixed it for my build, but it is not suitable for
merging into OE, because it would break OABI builds. Therefore I would
like to propose a change which allows using different presets for EABI
and OABI builds. Basically the idea is to use the following files:

arm-common - non-ABI specific presets
arm-oabi-common - OABI presets
arm-eabi-common - EABI presets

arm-linux - non ABI specific presets
arm-oabi-linux - OABI presets
arm-eabi-linux - EABI presets

Actually the oabi/eabi files should only hold a handful of
declarations, mainly structure alignment settings.

What do you think? Would you accept a patch which implements the above
structure? Or is there a better method to support this?

The actual patch to arm-common is attached.

Best Regards,
Gergely
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm-corba-8byte-align.diff
Type: text/x-patch
Size: 851 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20070916/17dc082e/attachment-0002.bin>


More information about the Openembedded-devel mailing list