Commit Graph

905 Commits

Author SHA1 Message Date
Wade Berrier af9710538e ccache:
-Allow user to specify custom ccache location.

This allows you to build a toolchain and put it on
 an nfs share so other people can use the toolchain
 without errors about the ccache dir missing.
2008-10-06 19:14:41 +00:00
Hans-Christian Egtvedt 50b55c9006 gcc: make installation of shared libraries multi-project safe
This patch modifies the rule for installing the shared libraries into the
project_foo/.../autotools-stamps directory. This will make the installation of
GCC shared libraries be multi-project safe.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-02 15:02:38 +00:00
Hans-Christian Egtvedt 3fac2be724 gcc: make sure that /usr/lib exists on target before installing shared libs
On very lite systems the /usr/lib directory might not exist before libstdc++ is
installed. This patch makes sure the directory exists.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-02 14:32:07 +00:00
Hans-Christian Egtvedt 49f6f94aee kernel-headers: remove whitespace damage 2008-10-02 14:24:45 +00:00
Hans-Christian Egtvedt 21eb2bfd61 uclibc: install headers after building headers in configure part
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-09-30 07:29:35 +00:00
Hamish Moffatt ea8e74bcbe Applied change from Ben Nizette and Hans-Christian Egtvedt to
correctly detect version of gcc on recent distros.  Supplied 
patch was against git and didn't apply cleanly to svn, so applied 
by hand.
2008-09-04 02:30:56 +00:00
Peter Korsgaard 5a5c59956b toolchain/gdb: unbreak target gdb support
r22624 (Ulf: Add prepatched AVR32 gcc-4.2.2 toolchain) broke target gdb
support as it tries to apply gdb patches twice. Unbreak it.

Closes #3954.
2008-08-24 07:48:22 +00:00
Peter Korsgaard 1243071b16 gcc: only use -mfloat-abi for ARM, use -msoft-float for other archs
Patch by Wade Berrier.
2008-08-22 13:59:06 +00:00
Peter Korsgaard dab85fae49 kernel-headers: rename aout patch so it gets applied to 2.6.25.15
Needed by valgrind.
2008-08-19 15:01:36 +00:00
Peter Korsgaard 383ee808ca kernel-headers: bump 2.6.25.x / 2.6.26.x versions 2008-08-19 15:01:33 +00:00
Peter Korsgaard f9bd1c85f3 ccache: expand help text 2008-08-04 19:08:06 +00:00
Peter Korsgaard 387a5491a2 ccache: cleanup configure args and respect BR2_HAVE_MANPAGES 2008-08-04 19:08:04 +00:00
Peter Korsgaard 3e59a44021 ccache: also remove target symlinks on clean 2008-08-04 19:08:01 +00:00
Peter Korsgaard 5d2d6d9705 ccache: cleanup config 2008-08-04 19:07:58 +00:00
Peter Korsgaard d3ebf329ca uClibc-0.9.29: remove double ARM subarch selection from defconfig
uclibc.mk unconditionally adds the ARM subarch config entries to the
config so remove them from the defconfig.
2008-08-04 19:07:33 +00:00
Peter Korsgaard 32de4ac2da kernel-headers: remove ancient versions 2008-08-04 19:07:26 +00:00
Peter Korsgaard d1a4923086 kernel-headers: mark 2.6.24 as deprecated and 2.6.25 as recent 2008-08-04 19:07:24 +00:00
Peter Korsgaard dc01863bce kernel-headers: add 2.6.26.x 2008-08-04 19:07:21 +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 4683420c4c Kconfig: remove 'default n'
'default n' is the default, so there's no need to say it explicitly.
2008-07-17 20:01:44 +00:00
Ulf Samuelsson 228ef57ecf Add latest gcc patch for AVR32 gcc-4.2.2 prepatched source 2008-07-08 19:45:34 +00:00
Ulf Samuelsson d592884e2c Fix AVR32 gcc patching, when sysroot option is not enabled 2008-07-08 19:31:30 +00:00
Peter Korsgaard bb4a56d29a kernel-headers: bump 2.6.25.x version 2008-07-07 05:30:22 +00:00
Ulf Samuelsson 126bb72fa0 Add prepatched AVR32 gcc-4.2.2 toolchain from www.atmel.no, move patch locations for prepatched toolchain to be under the toolchain directory 2008-07-04 08:39:35 +00:00
Ulf Samuelsson 74548a0071 fixup gdb-6.7.1 2008-07-01 21:47:24 +00:00
Ulf Samuelsson 8e3f93eec7 disable werror in gdb 2008-07-01 21:46:50 +00:00
Ulf Samuelsson d6eea487ed disable configure caching in gdb, courtesy of Fathi Boudra 2008-07-01 21:38:03 +00:00
Ulf Samuelsson 5ae5af44a5 Add gdb-6.8 support, courtesy Fathi Boudra 2008-07-01 21:36:31 +00:00
Ulf Samuelsson 0e1f472800 Add gdb-6.8 support, courtesy Fathi Boudra 2008-07-01 21:36:11 +00:00
Ulf Samuelsson 38ca54a719 Fix gbd-6.5, courtesy Fathi Boudra 2008-07-01 21:35:33 +00:00
Peter Korsgaard 5e873d3c7e kernel headers: bump 2.6.25.x
Based on patch by Fathi Boudra.
2008-06-26 07:22:19 +00:00
Peter Korsgaard 32ac555784 toolchain/gcc: use --disable-decimal-float for 4.3.x 2008-06-21 19:47:17 +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 e31844e307 toolchain/gcc: add 4.3.1
Based on Bernhards tree.
2008-06-19 19:06:04 +00:00
Peter Korsgaard f6a212f1c0 toolchain/gcc: mark old versions as deprecated 2008-06-19 19:05:59 +00:00
Peter Korsgaard 15d53f0d1b toolchain/gcc: use $(@D) 2008-06-18 15:46:48 +00:00
Peter Korsgaard 5a5dd825d7 toolchain/gcc: use depends on instead of depends 2008-06-18 15:42:50 +00:00
Peter Korsgaard 0c462a82ec dependencies: check for awk 2008-06-18 13:11:52 +00:00
Peter Korsgaard 4098f22eb4 uclibc: only strip libpthread on 0.9.28.3 / not PTHREAD_DEBUG 2008-06-18 08:51:10 +00:00
Peter Korsgaard 00f3b5c1f2 uclibc: remove obsolete uclibc 0.9.28 handling 2008-06-18 08:51:00 +00:00
Peter Korsgaard 65b0f823b2 toolchain/gcc: use $(STRIP_STRIP_UNNEEDED) 2008-06-17 13:33:02 +00:00
Peter Korsgaard fb487ac330 toolchain/uclibc: strip libpthread 2008-06-17 13:30:35 +00:00
Peter Korsgaard e1c7bea59c toolchain/gcc-4.x: strip cross libgcc / libstdc++ 2008-06-17 13:28:37 +00:00
Peter Korsgaard 759e150633 toolchain/gcc-3.x: strip cross libgcc / libstdc++ with cross-strip, not host. 2008-06-17 12:54:36 +00:00
Peter Korsgaard 6ba4593f4a gdb: support external toolchain 2008-06-16 15:52:41 +00:00
Peter Korsgaard 6e236eee50 toolchain: more sensible uclibc defaults for external toolchain 2008-06-16 12:22:45 +00:00
Peter Korsgaard 77b4f62415 toolchain: move elf2flt+mklibs under 'Common Toolchain Options' 2008-06-16 07:15:44 +00:00
Peter Korsgaard d22723861b elf2flt: only allow it to be selected on supported archs 2008-06-16 07:15:33 +00:00
Peter Korsgaard ab32901117 kernel-headers: 2.6.25.6: export linux/a.out.h (E.G. for valgrind) 2008-06-15 19:17:14 +00:00
Peter Korsgaard f85cd12c17 toolchain: also setup kernel headers when ext toolchain is used
Provide kernel headers when ext toolchain is used, so we can compile
packages which need them.
2008-06-13 14:28:57 +00:00
Peter Korsgaard 364405da5f toolchain: gcc 4.2.4 support 2008-06-13 11:49:42 +00:00
Peter Korsgaard fc084dfefe kernel headers: bump 2.6.25.x version 2008-06-11 13:05:23 +00:00
Peter Korsgaard a40fbe48c9 kernel headers: bump 2.6.25.x version 2008-06-07 09:40:16 +00:00
Peter Korsgaard 197ab1cef2 toolchain: also use arch/tune/abi options when softfloat is enabled
The ifeq/endif nesting was wrong, so arch/tune/abi options where only set in
the non-softfloat case.
2008-06-06 12:49:53 +00:00
Peter Korsgaard 2e696981a6 kernel headers: add BR2_DEPRECATED / BR2_RECENT annotations to 2.6.2x 2008-06-02 12:25:24 +00:00
Peter Korsgaard 22454398f5 kernel headers: add 2.6.25.4 2008-06-02 12:25:20 +00:00
Peter Korsgaard eff0dffca2 kernel headers: bump 2.6.24.x to 2.6.24.7 2008-06-02 12:25:17 +00:00
Peter Korsgaard babe5b0486 uclibc-0.9.28.3: correct arch list (avr32 missing, stuff only in 0.9.29+) 2008-05-31 07:28:09 +00:00
Peter Korsgaard 00141805cb uclibc-0.9.28.3: fix config so oldconfig doesn't ask questions 2008-05-31 07:28:00 +00:00
Peter Korsgaard f469324898 uclibc-0.9.29: handle powerpc subarch selection 2008-05-31 07:27:58 +00:00
Peter Korsgaard 13db6302c4 uClibc: use .patch.$ARCH naming convention 2008-04-24 09:03:12 +00:00
Nigel Kukard 85900b0957 * Added uclibc snapshot config, differes from the stable and kept asking questions for config
* Added ARM config options to makefile just like the other arch's
2008-04-17 13:25:47 +00:00
Peter Korsgaard de87811186 toolchain/gcc: do not try to strip *-embedspu 2008-04-04 14:16:06 +00:00
Nigel Kukard 49bb82c9f4 * Removed GCC 4.2.0, added GCC 4.2.3 (take 2) 2008-03-30 08:12:22 +00:00
Nigel Kukard c92cb2cacd * Remove legacy GCC 4.1.x versions 2008-03-30 08:07:53 +00:00
Nigel Kukard a1b9776f4b * Remove legacy GCC 4.0.x versions 2008-03-30 08:06:38 +00:00
Nigel Kukard 2c9c9bcdf2 * Remove legacy GCC 3.4.x versions 2008-03-30 08:05:22 +00:00
Nigel Kukard 5929cc768b Remove legacy GCC 3.3.x versions 2008-03-30 08:04:14 +00:00
Ulf Samuelsson 2880357071 Add build support for latest gdb 2008-03-30 07:09:07 +00:00
Ulf Samuelsson 0cc1cbe96a Force use of bash for patching 2008-03-29 23:10:47 +00:00
Nigel Kukard 0c00962017 PentiumPro is not Pentium4 but i686 2008-03-29 17:34:23 +00:00
Nigel Kukard 9a193dfbf0 * Fixed uClibc sub-x86 arch selection 2008-03-29 16:23:16 +00:00
Ulf Samuelsson 26447bda44 Remove AVR32 gdb patches duplicating prepatched source 2008-03-29 11:14:27 +00:00
Ulf Samuelsson 896a57a7ca Remove binutils AVR32 patches duplicating external source 2008-03-29 11:09:49 +00:00
Ulf Samuelsson dde50867f9 Remove avr32 gcc patches duplicating external source 2008-03-29 11:07:12 +00:00
Ulf Samuelsson 979d4576de Remove duplication of AVR32 toolchain 2008-03-29 11:04:30 +00:00
Nigel Kukard 80f199c3d8 * Reverted r21540 2008-03-28 22:08:37 +00:00
Nigel Kukard 19d47ec4f5 * Missed jacmet's patch, r21520 2008-03-28 21:27:03 +00:00
Nigel Kukard cc0aeb527a * Added 4.2.2 patchset 2008-03-28 21:19:12 +00:00
Nigel Kukard 643dd9b609 * Bumped GCC to 4.2.2, removed 4.2.0 2008-03-28 21:03:04 +00:00
Peter Korsgaard 1ab26cfe38 gcc 4.2.1: fix undefined reference to fmsub in C++ programs with soft float
Fix 'undefined reference to fmsub' linking errors with C++ programs
when soft float is enabled. Patch by b5331.

Closes #1588.
2008-03-27 19:37:33 +00:00
Peter Korsgaard ca89923ee0 uClibc 0.9.28.3: use optimized string ops on ppc
Use optimized string ops instead of dummy generic ones on PPC.
2008-03-27 10:23:13 +00:00
Peter Korsgaard 9e0fe4b885 uclibc: remove unused legacy patches 2008-03-27 10:23:03 +00:00
John Voltz 577cec7bc6 current avr32 gcc patches break x86 and possibly other systems. moving bad patches to separate directory until a proper fix is made. discovered by jacmet and Dr. Nigel Kukard 2008-03-21 11:21:02 +00:00
John Voltz 417c4acc4a make patch-kernel create lists of applied patches, very handy indeed 2008-03-13 17:10:40 +00:00
Peter Korsgaard 25a7363f5d buildroot: use BR2_KERNEL_MIRROR everywhere
Based on patch by Nigel Kukard.
2008-03-11 18:54:17 +00:00
John Voltz cd36594b21 fixed path problem 2008-03-11 15:49:09 +00:00
Peter Korsgaard efa0423110 buildroot: Use BR2_GNU_MIRROR everywhere
Patch by Nigel Kukard.
2008-03-11 08:17:17 +00:00
John Voltz dc56871dde HTMLized glibc vs uclibc and added to docs 2008-03-07 13:34:02 +00:00
Peter Korsgaard 1a27e8d311 gcc 4.2.1: Don't change SUFFIX and bug report URL
SUFFIX and bug report URL shouldn't be set to something atmel specific
if you don't compile for AVR32.

The AVR32 patch should probably only get applied if compiling for AVR32.
2008-03-06 22:56:50 +00:00
John Voltz 1d161fb437 toolchain updates 2008-03-06 18:52:01 +00:00
John Voltz 3ab16b1fd6 added and removed uclibc patches 2008-03-06 18:50:01 +00:00
Peter Korsgaard 155971e08f buildroot: add external-deps target
Add external-deps target to show what external files are needed to recreate
the build.
2008-03-04 12:19:16 +00:00
"Steven J. Hill" bebbe792df Make sure 'linkage.h' headers are installed. Add hack to bootstrap newer
versions of GCC. Filter out 'gnu99' from assembly flags. Use the 
'headers' target instead of 'pregen' to prepare for more NPTL 
integration. Fix broken MTD package configuration....someone believes in 
the Klingon release process apparently. Fix build issues with netplug 
and libpng. Fix source path for microcom as original site no longer 
exists.
2008-02-28 02:13:42 +00:00
"Steven J. Hill" 49609366cf Copy patch needed for dynamic loader strings and config targets. 2008-02-25 00:25:02 +00:00
"Steven J. Hill" 6a7ed033ef Fix 'makeinfo' failure. 2008-02-25 00:17:36 +00:00
Ivan Kuten 980df901b9 updated nios2 gdb support, thanks to Atle Nissestad 2008-02-08 09:32:23 +00:00
Ivan Kuten 6c9b9c4e51 updated gdb support for nios2, thanks Atle 2008-02-07 10:59:00 +00:00
Paul Mundt a5c831661e Add support for 2.6.24 headers. 2008-02-04 07:54:32 +00:00
"Steven J. Hill" db75dfd76f New patches for the makeinfo bug to older binutils. 2008-01-26 20:52:45 +00:00
Ulf Samuelsson a04459a2a3 Define kernelversion if ext toolchain is used 2008-01-10 09:30:11 +00:00
Ivan Kuten 7a3789e41d fix gcc 3.4.6 and libstdc++ when shared support is disabled, thanks Atle\! 2008-01-08 12:52:49 +00:00
Ivan Kuten cb815ae003 Add support for GNU and kernel.org mirrors 2007-12-17 12:29:06 +00:00
Ivan Kuten 0062430ad5 revert 20646 rev (gcc-cc_links-fix.diff), it's broken for arm as mentioned in 1764 issue 2007-12-17 11:37:47 +00:00
Ivan Kuten 43cff997d7 fix gcc 3.x/4.x symlinks to cc 2007-12-13 12:09:56 +00:00
Ivan Kuten 091ed0ba4b enable symlinks for the elft2flt binaries 2007-12-11 20:21:35 +00:00
Peter Korsgaard 24f21ae70f Fix for old-style kernels (broken by r20018). Check old-style versions before
including kernel-headers-new.makefile.
2007-11-26 14:54:15 +00:00
Ivan Kuten 459afe0a23 nios2: remove empty files, thanks to Atle Nissestad 2007-11-23 11:25:13 +00:00
Ivan Kuten 7eb9574e2b update the nios2-patches for binutils-2.15 and gcc-3.4.6 with the latest sources from Altera, and removes obsolete patches 2007-11-23 10:32:50 +00:00
Ivan Kuten 1dabd71252 update uClibc config for nios2 2007-11-15 15:44:15 +00:00
Ivan Kuten 06510069f8 install ldconfig stuff only if it was built, fix for systems without shared libraries support (nios2) 2007-11-15 10:16:55 +00:00
Ivan Kuten 29dbeb4e51 update elf2flt nios2 support, thanks atle 2007-11-09 10:07:15 +00:00
Ivan Kuten 00f34a0cdc update gcc nios2 support, thanks atle 2007-11-09 09:57:25 +00:00
Ivan Kuten 3d4957b0dd update kernel-headers nios2 support, thanks atle 2007-11-09 09:52:26 +00:00
Ivan Kuten 9a70efaf1b update binutils nios2 support, thanks atle 2007-11-09 09:45:08 +00:00
Ivan Kuten f81ce174a9 fix typo in elf2flt, thanks atle 2007-11-08 11:03:35 +00:00
Ulf Samuelsson 3536c2f919 Ensure AVR32 FPU config is always correct 2007-10-23 09:49:56 +00:00
Ivan Kuten 74a374edb1 'make source' command working again for gcc 2007-10-20 18:09:53 +00:00
Ivan Kuten 587c4892e5 fix libmudflap build failure for 4.1.2 gcc - pass CPP=<target_cpp>, thanks to Hamish Moffatt 2007-10-19 17:51:00 +00:00
Ivan Kuten b2683e4d2c add soft-float support to 4.1.2 gcc, thanks to Hamish Moffatt 2007-10-19 17:41:58 +00:00
Ulf Samuelsson b49adb8a38 Softfloat patch 2007-10-17 21:56:21 +00:00
Ulf Samuelsson 3b448df464 fix typo in kernel headers 2007-10-17 17:31:18 +00:00
Ulf Samuelsson f53d9ece64 Update AVR32 toolchain with new binutils and uClibc, This time it works (cross-fingers) 2007-10-13 10:15:01 +00:00
Ulf Samuelsson 8e650f6ec0 Allow library copy to fail 2007-10-12 21:01:41 +00:00
Ulf Samuelsson d89d54541e Do not copy shared C++ lib, unless one is built 2007-10-12 15:14:46 +00:00
Ulf Samuelsson 191d0518b9 Add AVR32 support for uclibc-0-9-29 2007-10-12 15:12:55 +00:00
Ulf Samuelsson 022b104152 Add 2.6.22.10 and 2.6.23 support 2007-10-12 15:10:27 +00:00
Ulf Samuelsson d2b3ce5c1b Cannot copy shared c++ lib, if one has not been created 2007-10-12 12:30:14 +00:00
Ulf Samuelsson cfeb86e2b3 Allow longer history for package versions 2007-10-07 18:29:17 +00:00
Ulf Samuelsson 06cd2634a2 Do not create directories, if they exist 2007-10-07 17:22:56 +00:00
Bernhard Reutner-Fischer 0c16c17f53 - start to think about GNU/hurd support.
Not yet functional. Help welcome
2007-10-05 11:06:56 +00:00
Bernhard Reutner-Fischer 5aa8b18188 - adjust default for LFS 2007-10-05 11:02:29 +00:00
Ulf Samuelsson 575d3465ab Use the right Config for AVR32 gcc build 2007-10-01 21:12:54 +00:00
Bernhard Reutner-Fischer 1672e71f17 - remove misplaced comment 2007-10-01 21:06:50 +00:00
Bernhard Reutner-Fischer 14a71561a3 - just use the strip binary to avoid confusing libtool (quotes)
- use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
2007-10-01 16:15:31 +00:00
Bernhard Reutner-Fischer 4ad141c338 - pass configure args for the -target compiler 2007-10-01 12:57:36 +00:00
Bernhard Reutner-Fischer 61558a5773 - add additional EXTRA_GCC_CONFIG_OPTIONS for initial, cross and target compiler 2007-10-01 12:56:24 +00:00
Bernhard Reutner-Fischer 00b8456cd5 - whitespace cleanup (Cristian Ionescu-Idbohrn) 2007-09-30 12:46:02 +00:00
Bernhard Reutner-Fischer 28b852d9c3 - propagate mips ISA down to uClibc 2007-09-30 12:42:59 +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
Ulf Samuelsson f885e239ea Revert modification of gcc, and make it AVR32 specific 2007-09-29 20:44:30 +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
Ulf Samuelsson 7a478629c1 Use linke to build-time-tools, disable libssp which does not work for cross-compile 2007-09-29 17:32:58 +00:00
Ulf Samuelsson a6faed6a6e Removed uclibc source dependency on host-sed 2007-09-28 22:16:47 +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
Ulf Samuelsson 41d2a92fee No reliance on dirs in uClibc 2007-09-28 21:44:35 +00:00
Bernhard Reutner-Fischer 5f97580e50 - add FC, remove some duplicate entries, cleanup
- fixup after Ulf: CXX doesn't take CFLAGS but CXXFLAGS
2007-09-28 20:10:22 +00:00
Ulf Samuelsson 0ba7c9c383 add autoreconf script that can handle gcc (aclocal needs to handle -I switch) 2007-09-28 19:56:16 +00:00
Ulf Samuelsson 884482357c Add bells and whistles to allow gcc-4.1.2-AVR32 buildprocess to progress further, not home yet though 2007-09-28 19:53:13 +00:00
Ulf Samuelsson 5459a9c5e0 Cleanup cross toolchain admin, split uclibc-menuconfig into same + uclibc-update to avoid overwriting board support file 2007-09-28 19:43:26 +00:00