Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] --with-abi=<empty> ... during gcc build
@ 2007-09-29 17:38 Ulf Samuelsson
  2007-09-29 18:28 ` Bernhard Fischer
  0 siblings, 1 reply; 6+ messages in thread
From: Ulf Samuelsson @ 2007-09-29 17:38 UTC (permalink / raw)
  To: buildroot

gcc configure is passed $(GCC_WITH_ABI)
which is defined as:
toolchain/gcc/Makefile.in:GCC_WITH_ABI:=--with-abi=$(BR2_GCC_TARGET_ABI)

target/Config.in.arch defines BR2_GCC_TARGET_ABI
config BR2_GCC_TARGET_ABI
        string
        default apcs-gnu        if BR2_arm_dunno
        default aapcs-linux     if BR2_arm_dunno
        default iwmmxt          if BR2_iwmmxt
        default 32              if BR2_mipsel && BR2_OABI
        default n32             if BR2_mipsel && BR2_EABI
        default o64             if BR2_mips && BR2_OABI
        default 64              if BR2_mips && BR2_ABI64
        default eabi            if BR2_mips && BR2_EABI
        default mmixware        if BR2_mmix && BR2_ABI_native
        default gnu             if BR2_mmix && !BR2_ABI_native
        default altivec         if BR2_powerpc && BR2_ABI_altivec


but there is no definition of BR2_OABI or BR2_EABI.

Suggest the following patch
Index: target/Config.in.arch
===================================================================
--- target/Config.in.arch       (revision 20117)
+++ target/Config.in.arch       (arbetskopia)
@@ -117,8 +117,10 @@
 
 config BR2_ARM_OABI
        bool "OABI"
+       select BR2_OABI
 config BR2_ARM_EABI
        bool "EABI"
+       select BR2_EABI
 endchoice
 
 choice
@@ -635,6 +637,12 @@
        default z990            if BR2_s390_z990
        default z9-109          if BR2_s390_z9_109
 
+config BR2_EABI
+       bool
+
+config BR2_OABI
+       bool
+
 config BR2_GCC_TARGET_ABI
        string
        default apcs-gnu        if BR2_arm_dunno
@@ -643,10 +651,12 @@
        default aapcs-linux     if BR2_arm_dunno
        default iwmmxt          if BR2_iwmmxt
        default 32              if BR2_mipsel && BR2_OABI
+       default 32              if BR2_arm && BR2_OABI
        default n32             if BR2_mipsel && BR2_EABI
        default o64             if BR2_mips && BR2_OABI
        default 64              if BR2_mips && BR2_ABI64
        default eabi            if BR2_mips && BR2_EABI
+       default eabi            if BR2_arm && BR2_EABI
        default mmixware        if BR2_mmix && BR2_ABI_native
        default gnu             if BR2_mmix && !BR2_ABI_native
        default altivec         if BR2_powerpc && BR2_ABI_altivec


-----------
It is not complete, since the other ABIs are not defined as well...


Best Regards
Ulf Samuelsson

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-09-30 15:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-29 17:38 [Buildroot] --with-abi=<empty> ... during gcc build Ulf Samuelsson
2007-09-29 18:28 ` Bernhard Fischer
2007-09-29 20:32   ` Ulf Samuelsson
2007-09-29 20:49     ` Bernhard Fischer
2007-09-29 22:12       ` Bernhard Fischer
2007-09-30 15:43       ` Ulf Samuelsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox