summaryrefslogtreecommitdiffstats
path: root/target/Config.in.arch
Commit message (Collapse)AuthorAgeFilesLines
* Create <tuple>/lib -> <sysroot>/lib symlink before installing cross gccThomas Petazzoni2010-07-271-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Set correct GCC tune option for ARM926T(==ARM926EJ-S) coreJulien Boibessot2010-06-081-1/+1
| | | | | Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Enable e300c2, e300c3 and e500mc powerpc optimizationsGustavo Zacarias2010-04-081-0/+12
| | | | | | | Closes #1513 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* get rid of broken nios2 supportPeter Korsgaard2010-03-301-6/+1
| | | | | | | 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>
* Add support for the Cortex-A8 ARM targetLaine Walker-Avina2009-11-181-0/+6
| | | | | Signed-off-by: Laine Walker-Avina <lwalkera@ieee.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* default to EABI on armBernhard Reutner-Fischer2009-10-061-3/+6
| | | | | | | 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>
* target/; xtensa supportMaxim Grigoriev2009-07-241-0/+35
| | | | | | | Part of #163. Signed-off-by: Maxim Grigoriev <maxim2405@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* target/Config.in.arch: fix BR2_ARCH for i386 geode variantPwalters2009-06-151-0/+1
| | | | | Signed-off-by: PWalters <pwalters21@cox.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* target/Config.in.arch: fix BR2_GCC_TARGET_ARCH for arm926tAlex Dobrynin2009-06-011-1/+1
| | | | | | | | | | | | | | 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>
* unmark the sparc targets as broken, they build if you disable shared libgccaustinf2009-04-151-2/+0
|
* target/Config.in.arch: really provide correct --with-arch= for ARM targetsPeter Korsgaard2009-03-301-13/+13
| | | | The ARM arch names are armVx, not armX
* target/Config.in.arch: provide correct gcc --with-arch= for ARM targetsPeter Korsgaard2009-03-301-0/+14
| | | | | Updated to match gcc-4.3.3/gcc/config/arm/arm-cores.def. Should fix EABI issues as recently reported to the list.
* target/Config.in.arch: fix ARM abi settingPeter Korsgaard2009-01-301-3/+2
| | | | Reported by Sven Neumann and based on 7f7aac5d3 in Bernhard's tree.
* buildroot: mark alpha as brokenPeter Korsgaard2009-01-131-0/+1
| | | | It still doesn't build with threading + shared libs disabled
* buildroot: mark ia64, m68k, nios2, sparc and sparc64 as brokenPeter Korsgaard2009-01-121-1/+5
| | | | | No sense in showing the architecture options when they cannot even build the toolchain.
* buildroot: get rid of s390 supportPeter Korsgaard2009-01-121-33/+0
| | | | | As discussed on the list. It isn't supported by uclibc, so I strongly doubt anyone has been using it.
* * Added "generic" option to x86_64 targetNigel Kukard2009-01-011-1/+5
| | | | - Default to generic and not core2
* Remove AVR32 target variants, the current entries refers to CHIPS which have ↵Ulf Samuelsson2008-12-171-12/+0
| | | | the same CPU core, CHIP variant is defined elsewhere
* buildroot: remove trailing spacesPeter Korsgaard2008-08-041-1/+1
| | | | | | | for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`; do sed -i 's/ \+$//' $i; done
* buildroot: s/depends/depends on/Peter Korsgaard2008-06-191-19/+19
| | | | | The new kconfig is more strict regarding depends/depends on, so fixup the tree.
* toolchain: fix mips abi selectionPeter Korsgaard2008-05-121-10/+27
| | | | Based on commit 0e2ab in aldot's tree.
* buildroot: fix missing ARCH for some x86 variantsPeter Korsgaard2008-03-111-0/+5
| | | | Patch by Nigel Kukard.
* Ensure AVR32 FPU config is always correctUlf Samuelsson2007-10-231-0/+2
|
* - default to mips I for mipsel and mips III for mips Bernhard Reutner-Fischer2007-10-021-1/+5
| | | | - suggest some target flags for abi64
* - fix typoBernhard Reutner-Fischer2007-09-301-1/+1
|
* - revert part of 20119 (renaming BR2_ARM_.ABI to BR2_.ABI)Bernhard Reutner-Fischer2007-09-291-20/+20
|
* - better use commonly used digits in ISA configBernhard Reutner-Fischer2007-09-291-4/+4
|
* - add mips/mipsel target architecture selectionBernhard Reutner-Fischer2007-09-291-5/+46
| | | | - rename BR2_ARM_[EO]ABI to the commonly used BR2_[EO]ABI
* - naming convention is Config.in resp. Config.in.fooBernhard Reutner-Fischer2007-09-281-0/+658
Adjust some accordingly