Commit Graph

32 Commits

Author SHA1 Message Date
Peter Korsgaard
92870a7a7c Config.in.arch: ARM cortex A9 support
Based on patch by falls huang.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-12 19:36:57 +02:00
Thomas Petazzoni
e5621b427c Mark CRIS architecture as deprecated
The CRIS architecture support in Buildroot hasn't been updated since a
long time. Even a toolchain with recent kernel headers does not build
due to missing patches.

Moreover, the CRIS architecture has been discontinued by Axis, as
visible at http://www.axis.com/products/dev/index.htm. We will remove
it from Buildroot at the next release cycle.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-08-11 15:31:33 +02:00
Thomas Petazzoni
a563a66347 Deprecate the Alpha, IA64 and Sparc64 support
Those architectures don't exist anymore (Alpha, IA64) or aren't widely
used for embedded systems running Linux. Moreover, no clear Buildroot
maintainer has stepped in to maintain these architectures, so it's
better to not pretend that we support them.

The goal is to mark them as deprecated in 2010.08 and remove them in
2010.11.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-27 23:23:42 +02:00
Thomas Petazzoni
3c77bab2ee Create <tuple>/lib -> <sysroot>/lib symlink before installing cross gcc
This commit solves bug #1051. The problem in this bug in that WebKit
compiles a sample C program, which uses WebKit. As WebKit is written
in C++, even though the program it built with CROSS-gcc, it must be
linked with libstdc++. However, CROSS-gcc can't find the libstdc++ has
it's hidden inside <sysroot>/<tuple>/lib.

Therefore, this commit creates a symbolic link <sysroot>/<tuple>/lib
-> <sysroot>/lib before running the CROSS-gcc installation. While this
may look like a hack, this is the solution used by both Crosstool-NG
and OpenWRT.

Moreover, with this symbolic link in place, I think bug #1741 may also
be solved. The problem in this bug is that the linker tries to link
against /lib/libc.so.0. This is due to the fact that the linker finds
a libc.so script file in the original toolchain location and not
inside the copy of the toolchain sysroot in $(STAGING_DIR). As the
script file is found outside of the current toolchain sysroot, ld
considers the script has non-sysrooted, and therefore doesn't prefix
all paths found in the script file (such as /lib/libc.so.0) with the
sysroot path, leading to the failure.

So, in details, this commit :

 * Adds a BR2_ARCH_IS_64 invisible config knob that is used to know if
   the arch is a 64 bits architecture or not.

 * Creates the <sysroot>/<tuple>/lib -> <sysroot>/lib symbolic link,
   and the <sysroot>/<tuple>/lib64 -> <sysroot>/lib64 symbolic link if
   needed.

 * Fixes the external toolchain sysroot detection code so that the
   'sed' replacement is done *after* the readlink -f evaluation.

I have tested this by building ARM, x86 and x86_64 toolchains with
Buildroot, and then use these toolchains as external toolchains to
build a full X.org/Gtk/WebKit/Midori stack. I have also done a
complete ARM Buildroot internal toolchain build with the same full
X.org/Gtk/WebKit/Midori stack.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27 22:49:36 +02:00
Julien Boibessot
133a3f90ba Set correct GCC tune option for ARM926T(==ARM926EJ-S) core
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-08 23:32:40 +02:00
Gustavo Zacarias
633049d800 Enable e300c2, e300c3 and e500mc powerpc optimizations
Closes #1513

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-08 13:16:13 +02:00
Peter Korsgaard
f220498f4b get rid of broken nios2 support
Has been marked as broken for more than 1 year, with no indication
that anyone cares, and it needs a bunch of special handling.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-30 17:19:59 +02:00
Laine Walker-Avina
83182dd28e Add support for the Cortex-A8 ARM target
Signed-off-by: Laine Walker-Avina <lwalkera@ieee.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-18 09:55:07 +01:00
Bernhard Reutner-Fischer
15a85fce2a default to EABI on arm
Use of OABI is strongly discouraged since years now.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-06 22:43:06 +02:00
Maxim Grigoriev
5ddb904a86 target/; xtensa support
Part of #163.

Signed-off-by: Maxim Grigoriev <maxim2405@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-24 02:17:22 +02:00
Pwalters
c239c1944b target/Config.in.arch: fix BR2_ARCH for i386 geode variant
Signed-off-by: PWalters <pwalters21@cox.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-15 20:33:11 +02:00
Alex Dobrynin
e9bf6aac83 target/Config.in.arch: fix BR2_GCC_TARGET_ARCH for arm926t
Closes #367.

arm926t was wrongly listed as armv4t, and not armv5te - leading to
the following error while compiling the kernel (2.6.28):

  CC      arch/arm/kernel/traps.o
{standard input}: Assembler messages:
{standard input}:1094: Error: selected processor does not support `pld [r6,#0]'

Signed-off-by: Alex Dobrynin <alex_dobrynin@hotmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-01 10:45:02 +02:00
austinf
a1e086da09 unmark the sparc targets as broken, they build if you disable shared libgcc 2009-04-15 09:13:21 +00:00
Peter Korsgaard
265f8bb959 target/Config.in.arch: really provide correct --with-arch= for ARM targets
The ARM arch names are armVx, not armX
2009-03-30 10:00:48 +00:00
Peter Korsgaard
b5b921e185 target/Config.in.arch: provide correct gcc --with-arch= for ARM targets
Updated to match gcc-4.3.3/gcc/config/arm/arm-cores.def.
Should fix EABI issues as recently reported to the list.
2009-03-30 08:42:08 +00:00
Peter Korsgaard
acc182cea2 target/Config.in.arch: fix ARM abi setting
Reported by Sven Neumann and based on 7f7aac5d3 in Bernhard's tree.
2009-01-30 11:35:04 +00:00
Peter Korsgaard
a81367744f buildroot: mark alpha as broken
It still doesn't build with threading + shared libs disabled
2009-01-13 15:14:21 +00:00
Peter Korsgaard
8161c45b89 buildroot: mark ia64, m68k, nios2, sparc and sparc64 as broken
No sense in showing the architecture options when they cannot even build
the toolchain.
2009-01-12 20:58:54 +00:00
Peter Korsgaard
b24c3215c1 buildroot: get rid of s390 support
As discussed on the list. It isn't supported by uclibc, so I strongly doubt
anyone has been using it.
2009-01-12 14:36:14 +00:00
Nigel Kukard
33b846773a * Added "generic" option to x86_64 target
- Default to generic and not core2
2009-01-01 17:48:06 +00:00
Ulf Samuelsson
7591247d51 Remove AVR32 target variants, the current entries refers to CHIPS which have the same CPU core, CHIP variant is defined elsewhere 2008-12-17 09:28:33 +00:00
Peter Korsgaard
02a623ddf9 buildroot: remove trailing spaces
for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`;
do
	sed -i 's/ \+$//' $i;
done
2008-08-04 19:07:05 +00:00
Peter Korsgaard
a5ac61715b buildroot: s/depends/depends on/
The new kconfig is more strict regarding depends/depends on, so fixup
the tree.
2008-06-19 19:06:25 +00:00
Peter Korsgaard
7d77306f29 toolchain: fix mips abi selection
Based on commit 0e2ab in aldot's tree.
2008-05-12 12:43:57 +00:00
Peter Korsgaard
7791b4e80f buildroot: fix missing ARCH for some x86 variants
Patch by Nigel Kukard.
2008-03-11 08:49:45 +00:00
Ulf Samuelsson
3536c2f919 Ensure AVR32 FPU config is always correct 2007-10-23 09:49:56 +00:00
Bernhard Reutner-Fischer
05195c3d00 - default to mips I for mipsel and mips III for mips
- suggest some target flags for abi64
2007-10-02 21:36:49 +00:00
Bernhard Reutner-Fischer
ca340986fe - fix typo 2007-09-30 12:42:11 +00:00
Bernhard Reutner-Fischer
98175bd43d - revert part of 20119 (renaming BR2_ARM_.ABI to BR2_.ABI) 2007-09-29 21:22:23 +00:00
Bernhard Reutner-Fischer
dce554081a - better use commonly used digits in ISA config 2007-09-29 19:47:04 +00:00
Bernhard Reutner-Fischer
3de7a21bc7 - add mips/mipsel target architecture selection
- rename BR2_ARM_[EO]ABI to the commonly used BR2_[EO]ABI
2007-09-29 19:17:39 +00:00
Bernhard Reutner-Fischer
bb9e6a7d9e - naming convention is Config.in resp. Config.in.foo
Adjust some accordingly
2007-09-28 21:54:36 +00:00