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