[PATCH] Get rid of the ARM EABI/OABI choice in the menuconfig

Yann E. MORIN yann.morin.1998 at anciens.enib.fr
Wed Apr 8 22:04:01 UTC 2009


Hello All!

Description:
------------

This patch removes the EABI vs. OABI choice in the ARM menuconfig, and
relies on the compiler to set the appropriate macro __ARM_EABI__.

This patch is just a base for discussion and is not yet ready for inclusion.
Notably, the test that it introduces in the Makefile is ugly, and should be
reworked.

Build-tested for armel, EABI/OABI.

Rationale:
----------

Most of the code is already using the __ARM_EABI__ macro, except for one
include file. Once that was fixed, the config knob only serves in a makefile
gragment.

Solution:
---------

The idea is that the user is responsible for either:
 - setting the compiler so that it uses the correct ABI by default,
or
 - setting UCLIBC_EXTRA_CFLAGS to contain appropriate flags to select
   the desired ABI.

Signed-off-by: Yann E. MORIN <yann.morin.1998 at anciens.enib.fr>

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| --==< ^_^ >==-- `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uClibc.trunk-no_CONFIG_ARM_EABI.patch
Type: text/x-diff
Size: 2566 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20090409/9203abc3/attachment.bin>


More information about the uClibc mailing list