summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/uclibc.mk
AgeCommit message (Collapse)Author
2011-07-27uClibc: drop BR2_PROGRAM_INVOCATION optionPeter Korsgaard
Remove the BR option and enable the configuration setting in the uClibc defconfigs. The BR2_PROGRAM_INVOCATION option only adds very little overhead to uClibc, and we have a number of packages needing it, so simply always enable it - Simplifying the kconfig logic and the number of choices users have to make. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-18sh: Fix Buildroot sh targets to match gnuconfig targetsPhil Edworthy
sh2eb and sh2a_nofpueb gnuconfig targets are no longer supported in Buildroot. This patch replaces these Buildroot targets with sh2 and sh2a respectively, and adds sh4a targets as these are widely used. To build for devices without an fpu, the relevant toolchain flags will have to be specified. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25uClibc: fix uclibc-menuconfig with ccache enabledPeter Korsgaard
If ccache is enabled, we need to ensure it is built for the host before anything else. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-29toolchain: drop BR2_CROSS_TOOLCHAIN_TARGET_UTILS optionGustavo Zacarias
It's really not very useful, all it does is install a target strace and ldd in a target_utils directory in staging. While at it clean up the strace makefile a bit. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-28uclibc: move tools to host dirGustavo Zacarias
Move uclibc host tools (ldd/ldconfig) to host dir. They were previously installed in the staging dir. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-13toolchain: move Stack Protection Support optionThomas Petazzoni
The BR2_USE_SSP option is only used inside the uClibc build, so only meaningful for Buildroot internal toolchains. Therefore, the option is moved to the right location so that it isn't visible when working with external toolchains. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-30sed: get rid of host-sed variantPeter Korsgaard
And all the infrastructure surrounding it. A broken sed implementation is quite rare nowadays, as seen by the fact that the current host-sed support has been broken for a while, so just get rid of it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-29uClibc: fix ppc e500 handlingStanislav Bogatyrev
Closes #2449 Signed-off-by: Stanislav Bogatyrev <bogatyrev_stanislav@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-29uClibc: remove old 0.9.28 supportPeter Korsgaard
Not supported upstream and needs complicated workaround for the NPTL stuff. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-29Add support for uclibc NPTL toolchain.Khem Raj
This patch modifies current toolchain build sequence so that NPTL enabled toolchain can be built. The new sequence works well with linuxthreads as well. It introduces a new pass for gcc cross compilation. The new sequence is binutils->gcc-initial->linux-headers -> uclibc-configured (some cheats to generate phony shared libc.so and libm.o) -> gcc-intermediate(with shared lib support) -> uclibc -> gcc-final I also added a new sample config arm_nptl_toolchain_defconfig which builds the toolchain and busybox. I have only tried it on arm. However it should work for other architectures which support NPTL on uclibc e.g. mips, sh, x86, ppc, x86_64 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-15toolchain: remove gcc 4.1.2 and non-sysroot supportPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-02uclibc: make sure the default configuration doesn't ask questionsThomas Petazzoni
Since new configuration options have been added in 0.9.31, the value of these configuration options should be determined, either by the default configuration file we provide, or by uclibc.mk process. The locale generation process should probably be improved in order to allow building other locales than just en_US. [Peter: fixup locale handling, add PROGRAM__NAME to defconfig] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-11Remove BR2_ENABLE_LOCALE_PREGENERATEDThomas Petazzoni
The option is marked broken since october 2009, and even the uClibc configuration help text says that using pregenerated locales is highly discouraged. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
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-04-05uclibc: don't install libs to target if BR2_PREFER_STATIC_LIBPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-05toolchain: add uClibc 0.9.31, mark 0.9.30.x as recentPeter Korsgaard
Enable susv3/susv4 legacy support for now, as a lot of packages (E.G. busybox) breaks with the stricter interpretation in 0.9.31. Also slightly tweak uclibc.mk as the "new" linuxthreads symbol changed. Test built on x86/x86-64/ppc/arm/mips. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-03uclibc: Fix for improper copying of kernel headersWill Wagner
Closes #1219 Signed-off-by: Will Wagner <will_wagner@carallon.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 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-12-15uclibc: get rid of avr32 special version since upstream worksThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14Use BR2_TOOLCHAIN_BUILDROOT instead of BR2_TOOLCHAIN_SOURCEThomas Petazzoni
The BR2_TOOLCHAIN_SOURCE option is removed in a future commit. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14uclibc: remove support for external source toolchainsThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14uclibc: add avr32 special versionThomas Petazzoni
* Add a new 0.9.30-avr32-2.1.5 version of uClibc in Config.in * Add a patch for 0.9.20-avr32-2.1.5 * Select a different UCLIBC_SITE for avr32 versions in uclibc.mk * Add the LINKRELAX=y configuration option to the uClibc .config file in uclibc.mk Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-11-17toolchain/uClibc: install ldd to targetPeter Korsgaard
Reported by Julien Boibessot <julien.boibessot@free.fr>. This somehow got disabled by cb815ae003d40cc971d (two years ago!). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-09*-menuconfig needs dirs to existBernhard Reutner-Fischer
In a pristine checkout the -menuconfig targets need their build dirs to exist. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-23rename TOOL_BUILD_DIR to TOOLCHAIN_DIRMichael Roth
To reflect the new output directory hierachy rename the Makefile variable TOOL_BUILD_DIR to TOOLCHAIN_DIR. Signed-off-by: Michael Roth <mroth@nessie.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-05toolchain: use qstripThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-03uClibc as of 20090825 requires the ARCH to be specified when we call it's makeAustin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-31Fix PROGRAM_INVOCATION handling with external toolchainsThomas Petazzoni
BR2_UCLIBC_PROGRAM_INVOCATION is a toolchain configuration option, like BR2_INET_IPV6, BR2_INET_RPC, on which some packages depend. Therefore, it should be handled like BR2_INET_IPV6 and BR2_INET_RPC in order to work properly with external toolchains. Since we move it out of toolchain/uClibc/Config.in into toolchain/Config.in.2, we rename the option to BR2_PROGRAM_INVOCATION (since BR2_INET_RPC and others don't have UCLIBC in their name). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-24toolchain/uclibc: xtensa supportMaxim Grigoriev
Part of #163. Signed-off-by: Maxim Grigoriev <maxim2405@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-04-22toolchain: add BR2_USE_SSP option for stack protection supportPeter Korsgaard
Using the support in uClibc.
2009-03-03uclibc: cleanup version handlingPeter Korsgaard
Based on 0171c72 in Bernhards' tree.
2009-03-03uclibc: add 0.9.30.1Peter Korsgaard
2009-01-30toolchain: fix up GNU_TARGET_NAME link and target_utils locationPeter Korsgaard
The GNU_TARGET_NAME symlink and target_utils location were not correctly adjusted to match the move of the toolchain to $(STAGING_DIR)/usr, creating dangling symlinks.
2009-01-16toolchain/: convert to DOWNLOAD helperPeter Korsgaard
2009-01-13toolchain: sh64 fixesPeter Korsgaard
- arch/sh and arch/sh64 got merged in 2.6.25, so use arch/sh for sh64 as well - use little endian for sh64, like for 32bit sh sh64 still doesn't build, but gets further along now.
2009-01-12toolchain/uclibc: fix sparc SED handling of _V9 / _V9BPeter Korsgaard
2009-01-12toolchain/uclibc: propagate mips mips32r2 variant setting to uclibcPeter Korsgaard
0.9.30 supports MIPS_ISA_MIPS32R2, so use it if mips32r2 variant is selected.
2009-01-02Remove whitespace damage in uclibc.mkUlf Samuelsson
2008-12-23toolchain/uclibc: fix typoPeter Korsgaard
2008-12-23toolchain/uclibc: Add BR2_ENABLE_LOCALE_PREGENERATED optionPeter Korsgaard
Add an option to either generate locales yourself or download the pregenerated set. Based on 4bdca9cc in Bernhard's tree.
2008-12-08toolchain/: get rid of unneeded $(strip ..)Peter Korsgaard
2008-12-01uClibc: add uClibc 0.9.30 to kconfig and MakefileHans-Christian Egtvedt
This patch adds uClibc versino 0.9.30 to the list of selectable versions. The version identification for snapshot is also updated to reflect 0.9.30. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-20toolchain/uclibc: brown paper bag fix for r23746Peter Korsgaard
So much for doing one more "obvious" fix before going home - Sorry everyone.
2008-10-20toolchain/uclibc: only use make install_headers for 0.9.29+Peter Korsgaard
0.9.28.3 doesn't have install_headers, so use install_dev there. Got broken by r23561.
2008-10-07uclibc: fix path to ARCH_CFLAGS when compiling the test suiteHans-Christian Egtvedt
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-07uclibc: add kconfig option and make stuff for installing the uClibc test suiteHans-Christian Egtvedt
This patch adds the possibility to install the uClibc test suite to the target file system. This is useful if you need to debug or test your uClibc. The option is defaulted to no, and is not needed for a normal running Linux system. The test suite is installed to /root/uClibc Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-09-30uclibc: install headers after building headers in configure partHans-Christian Egtvedt
This patch will run "make headers install_headers" instead of the old "make headers install_dev". The latter requires a cross compiler available in uClibc versions > 0.9.29, and the cross compiler is not available at the configuration time of uClibc. Spotted and fixed by Bernhard Fischer. Tested-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
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-07-04Add prepatched AVR32 gcc-4.2.2 toolchain from www.atmel.no, move patch ↵Ulf Samuelsson
locations for prepatched toolchain to be under the toolchain directory
2008-06-18uclibc: only strip libpthread on 0.9.28.3 / not PTHREAD_DEBUGPeter Korsgaard