Felix Fietkau
5feb978446
openwrt: honour gcc extra configuration flags
...
Although the CONFIG_EXTRA_GCC_OPTIONS flag is available, it isn't used
anywhere.
This change adds the extra flag to both gcc configure stages.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
SVN-Revision: 9406
2007-10-23 06:23:17 +00:00
John Crispin
cfd0fecd47
changed the -fhonours-copts gcc patch, such that the function needs to be turned on explicitly
...
SVN-Revision: 9167
2007-10-07 00:26:02 +00:00
Felix Fietkau
b3ab6c458d
fix gdb installation
...
SVN-Revision: 9088
2007-10-01 14:55:38 +00:00
Felix Fietkau
79d184705a
remove obsolete file
...
SVN-Revision: 9005
2007-09-24 00:11:20 +00:00
Florian Fainelli
328f9d26d8
Fix toolchain generation with FPU enabled ( #2242 )
...
SVN-Revision: 8711
2007-09-09 15:50:03 +00:00
Felix Fietkau
a9d683ca91
major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
...
SVN-Revision: 8694
2007-09-08 19:55:42 +00:00
Nicolas Thill
b35e6fe3ba
include kernel-version.mk from kernel.mk so that a correct KERNEL_PATCHVER is always available
...
SVN-Revision: 8494
2007-08-26 13:26:02 +00:00
Nicolas Thill
bf392a7fc0
fix typo ( closes : #2275 )
...
SVN-Revision: 8492
2007-08-26 13:00:27 +00:00
Florian Fainelli
e955458388
Disable multilib by default
...
SVN-Revision: 8471
2007-08-23 16:08:09 +00:00
Florian Fainelli
0143069883
Fix the stage2 compilation, no side effect with gcc4 ( #2190 )
...
SVN-Revision: 8409
2007-08-13 16:26:58 +00:00
Florian Fainelli
da932d9e1a
Replace TOOLCHAIN_BUILD_DIR with BUILD_DIR_TOOLCHAIN (the other one is deprecated)
...
SVN-Revision: 8399
2007-08-11 17:32:45 +00:00
Florian Fainelli
b682b4a79e
Fix gdb installation, thanks to Alfred Heggestad
...
SVN-Revision: 8383
2007-08-09 21:38:05 +00:00
Florian Fainelli
38d4bfb9ef
rdc can be built with gcc4 as well, my mistake
...
SVN-Revision: 8379
2007-08-08 12:03:24 +00:00
Felix Fietkau
50ecfa0505
fix kernel-headers download ( #2179 )
...
SVN-Revision: 8373
2007-08-07 09:41:54 +00:00
Felix Fietkau
c6bc77ea36
build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
...
SVN-Revision: 8362
2007-08-07 00:04:25 +00:00
Florian Fainelli
b829716e6d
rdc-2.6 must be built with gcc-3.4.6, if not it will not boot at all
...
SVN-Revision: 8345
2007-08-05 11:05:08 +00:00
Florian Fainelli
4d8a5d7d23
Allow installing gcj/gnu classpath,for those interested
...
SVN-Revision: 8337
2007-08-04 10:59:02 +00:00
Felix Fietkau
99368862e4
Port the mbsd_multi patch from freewrt, which adds -fhonour-copts. This will emit warnings in packages that don't use our target cflags properly
...
SVN-Revision: 8256
2007-07-31 00:52:27 +00:00
Felix Fietkau
7cc617cd7e
fix the gcc stampfile for initial stage installation
...
SVN-Revision: 8250
2007-07-30 22:27:37 +00:00
Felix Fietkau
d7229c78ff
remove leftover CONFIG_JLEVEL
...
SVN-Revision: 8249
2007-07-30 22:23:17 +00:00
Felix Fietkau
726e929a95
fix an uClibc compile error that only happens on rebuilds
...
SVN-Revision: 8248
2007-07-30 22:01:29 +00:00
Felix Fietkau
a37c85d5fe
no need to call compile,install on the kernel-headers dir - this gets rid of another unnecessary autorebuild check
...
SVN-Revision: 8247
2007-07-30 21:57:14 +00:00
Felix Fietkau
d7f2cb1642
next round of cleanup, convert target/ - make -j works now ;)
...
SVN-Revision: 8242
2007-07-30 21:14:08 +00:00
Felix Fietkau
49e628f765
next round of build system cleanup - convert package/ to new structure
...
SVN-Revision: 8236
2007-07-30 18:22:01 +00:00
Felix Fietkau
7e21008ee2
remove leftover stuff
...
SVN-Revision: 8234
2007-07-30 16:04:23 +00:00
Felix Fietkau
f1ac6cf7ec
fix compile errors with make 3.80
...
SVN-Revision: 8230
2007-07-30 15:00:27 +00:00
Imre Kaloz
1181536e69
add gcc 4.2.1
...
SVN-Revision: 8223
2007-07-30 12:26:28 +00:00
Felix Fietkau
d6a0242404
use $(curdir) again
...
SVN-Revision: 8208
2007-07-28 13:44:04 +00:00
Felix Fietkau
e143bed1f1
build system fixes, more cleanup
...
SVN-Revision: 8207
2007-07-28 13:29:03 +00:00
Felix Fietkau
c844236c36
fix cflags for xscale ( #2026 )
...
SVN-Revision: 7910
2007-07-11 05:18:19 +00:00
John Crispin
648cf7c524
added i686 support and profile for t-vision s100
...
SVN-Revision: 7890
2007-07-08 16:11:40 +00:00
Florian Fainelli
a10de632d1
Use -Os for rdc and -O2 for the x86 target
...
SVN-Revision: 7831
2007-07-01 17:53:28 +00:00
Rod Whitby
b67e1aee7e
Enable LDSO_RUNPATH in uClibc configuration for all platforms
...
SVN-Revision: 7769
2007-06-29 05:34:12 +00:00
Felix Fietkau
1b4fc61eea
update magicbox target to 2.6.22-rc6, select gcc 4.2.0 as default for this target (4.1.2 segfaults at compile time)
...
SVN-Revision: 7762
2007-06-28 20:42:21 +00:00
Felix Fietkau
83a487c412
fix gcc 4.2.0 compile for ppc
...
SVN-Revision: 7761
2007-06-28 19:52:09 +00:00
Felix Fietkau
333244441e
add update target to toolchain/
...
SVN-Revision: 7754
2007-06-28 08:45:59 +00:00
Felix Fietkau
abdd6e0f13
replace gcc 4.2 snapshot with 4.2.0 release (sync patches with uclibc buildroot), adjust gcc makefile for PATCH_DIR changes
...
SVN-Revision: 7753
2007-06-28 07:30:25 +00:00
Felix Fietkau
a81db04ee6
remove the custom Build/Prepare override in binutils, use PATCH_DIR, refresh patches using quilt
...
SVN-Revision: 7752
2007-06-28 07:20:42 +00:00
Felix Fietkau
f6a92d6ffe
enable the refresh target in toolchain/
...
SVN-Revision: 7751
2007-06-28 07:20:02 +00:00
Felix Fietkau
7e79cae090
disable quilt for kernel-headers
...
SVN-Revision: 7749
2007-06-28 06:53:08 +00:00
John Crispin
91f8777f84
added several patches to make packages compile for the foxboard
...
SVN-Revision: 7597
2007-06-12 20:36:02 +00:00
John Crispin
cfb46e5d45
Fixes compile bug for uclibc-cris
...
SVN-Revision: 7596
2007-06-12 18:06:13 +00:00
Felix Fietkau
163096b49f
fix kernel-headers patching ( #1878 )
...
SVN-Revision: 7586
2007-06-12 12:59:06 +00:00
Imre Kaloz
08c7265613
add support for the AVR32 platform, namely the ATNGW100 board - joint work with wigyori
...
SVN-Revision: 7533
2007-06-08 10:44:01 +00:00
Imre Kaloz
4374b41793
we don't need libmudflap at all
...
SVN-Revision: 7531
2007-06-08 10:35:23 +00:00
Imre Kaloz
c46cedd560
use binutils 2.17 by default
...
SVN-Revision: 7530
2007-06-08 10:32:29 +00:00
John Crispin
5ae3b0b713
Fixed a bug in the kernel-headers/Makefile introduced by the cris merge
...
SVN-Revision: 7444
2007-06-02 09:27:07 +00:00
John Crispin
e19eb3d828
add initial support for the crisarchitecture used on foxboards to openwrt
...
SVN-Revision: 7439
2007-06-02 00:46:02 +00:00
Felix Fietkau
42966ac7f4
add arm fix for gdb from #1468
...
SVN-Revision: 7127
2007-05-07 17:52:20 +00:00
Felix Fietkau
1099e2d679
the default_subtargets template was a bad idea, since different makefiles require different types of dependencies for subtargets. nuke it...
...
SVN-Revision: 7003
2007-04-18 17:35:46 +00:00
Florian Fainelli
ed654ae6bd
Remove ldd/ldconfig for the moment ( #1551 )
...
SVN-Revision: 6866
2007-04-04 20:24:06 +00:00
Hamish Guthrie
604782648a
Cleanups on romboot and u-boot. Conditionally apply ldd and ldconfig support on at91 platform
...
SVN-Revision: 6862
2007-04-04 14:33:52 +00:00
Florian Fainelli
da8174507a
Add ldd and ldconfig support, template packages derived from gcc and uclibc
...
SVN-Revision: 6856
2007-04-03 22:50:27 +00:00
Felix Fietkau
d651ee4602
Fix portability patch for uClibc. Certain versions of GNU cp treat -P as --parent, which is wrong here and -P should be implied by -R already. Fixes build on OSX with fink's fileutils installed.
...
SVN-Revision: 6784
2007-04-01 11:43:11 +00:00
Felix Fietkau
92f558c4be
Nuke lots of obsolete compiler versions Make gcc4 depend on !LINUX_2_4 - I'm getting sick of seeing people complain about compile errors when trying to build brcm-2.4 with it.
...
SVN-Revision: 6744
2007-03-28 17:52:00 +00:00
Imre Kaloz
e50a89989b
fix gcc version selection
...
SVN-Revision: 6556
2007-03-11 19:26:39 +00:00
Hamish Guthrie
ed1a641e15
Changed default compiler for 2.6 kernels to 4.1.2
...
SVN-Revision: 6539
2007-03-07 22:32:10 +00:00
Felix Fietkau
57495a67a5
changes to target/linux/generic-* should not trigger a kernel-headers rebuild
...
SVN-Revision: 6479
2007-03-03 20:48:47 +00:00
Felix Fietkau
2a7df08119
mark uml as broken and add some cleanups (not working yet)
...
SVN-Revision: 6439
2007-02-28 18:25:14 +00:00
Felix Fietkau
fd0969ba61
remove remaining unnecessary dependency
...
SVN-Revision: 6423
2007-02-28 02:40:19 +00:00
Felix Fietkau
f1a91c2f71
move ccache to tools/ and fix potential dependency issue
...
SVN-Revision: 6413
2007-02-27 23:46:34 +00:00
Felix Fietkau
2c2bf90a8e
fix ccache build ( #1415 )
...
SVN-Revision: 6412
2007-02-27 23:44:04 +00:00
Felix Fietkau
7d08f7199e
add x86_64 config for uClibc
...
SVN-Revision: 6368
2007-02-25 21:11:02 +00:00
Felix Fietkau
cb54edb503
add kernel_headers dependency on target/linux/generic-2.*
...
SVN-Revision: 6362
2007-02-25 18:54:51 +00:00
Felix Fietkau
ced1277147
clean up stampfile mess for tools/ and toolchain/
...
SVN-Revision: 6357
2007-02-25 17:49:25 +00:00
Felix Fietkau
9edce6b311
upgrade to uClibc 0.9.28.2
...
SVN-Revision: 6353
2007-02-24 20:22:01 +00:00
Imre Kaloz
8bc64752a7
add gcc 4.1.2 ( closes #1381 )
...
SVN-Revision: 6343
2007-02-22 10:28:46 +00:00
Felix Fietkau
eeb61522b5
Fix ipv4/ipv6 resolving. When not using AF_INET, gethostbyname2_r tries to resolve an ipv6 address from /etc/hosts using __get_hosts_byname_r, but with AF_INET instead of the supplied address family. This returns ipv4 addresses marked as ipv6 ones.
...
SVN-Revision: 6217
2007-01-27 15:13:06 +00:00
Felix Fietkau
fbaae65ab4
Fix gcc version selection - default version for linux 2.4 broken in r6208 - brcm-2.6 needs an older compiler at least on wgt634u (don't ask me why...)
...
SVN-Revision: 6209
2007-01-26 11:02:59 +00:00
Imre Kaloz
f1f2af6ddf
use gcc 4.1.1 for 2.6, 3.4.6 for 2.4 targets by default
...
SVN-Revision: 6208
2007-01-26 10:55:06 +00:00
Nicolas Thill
d04689050d
revert gcc to 4.1.1 for x86 to fix uclibc++ build ( closes : #1056 , #1202 )
...
SVN-Revision: 6185
2007-01-23 16:14:50 +00:00
Felix Fietkau
39ee107379
export __libc_stack_end in dynamically linked binaries as well - fixes uclibc++ compile on powerpc ( #1230 )
...
SVN-Revision: 6171
2007-01-22 01:11:39 +00:00
Felix Fietkau
d85c2ffd23
fix user mode linux toolchain build
...
SVN-Revision: 6130
2007-01-19 12:19:45 +00:00
Nicolas Thill
ca4e275b70
fix uml-2.6 build with 2.6.19.1
...
SVN-Revision: 5926
2006-12-29 11:09:10 +00:00
Felix Fietkau
c6e1c91ebf
add a hack for compiling a 32 bit user space with 64 bit uml kernel on x86_64
...
SVN-Revision: 5784
2006-12-14 07:00:34 +00:00
Felix Fietkau
f74dd32cba
fix ccache build order
...
SVN-Revision: 5783
2006-12-14 05:10:23 +00:00
Felix Fietkau
317aa7af59
fix kernel-headers compile
...
SVN-Revision: 5781
2006-12-14 04:57:55 +00:00
Florian Fainelli
b492e69bd2
Add ccache if not installed/installable on the host-system
...
SVN-Revision: 5758
2006-12-11 16:42:57 +00:00
Felix Fietkau
f5d49b3bd5
use the gcc 4.2 snapshot in x86-2.6 by default - seems to work better than 4.1.1
...
SVN-Revision: 5706
2006-12-07 04:08:04 +00:00
Felix Fietkau
ca5ea6c2be
default to gcc 4.1.1 for the rb532 again
...
SVN-Revision: 5700
2006-12-06 18:32:14 +00:00
Felix Fietkau
953c120550
switch to -O2 on x86 for performance reasons
...
SVN-Revision: 5694
2006-12-05 22:54:26 +00:00
Felix Fietkau
2d3da58dc6
another round of ppc fixes - the unfinished include/asm-ppc => asm-powerpc migration causes trouble
...
SVN-Revision: 5683
2006-11-30 18:30:16 +00:00
Felix Fietkau
040bb4800e
another build fix for ppc
...
SVN-Revision: 5682
2006-11-30 18:18:45 +00:00
Felix Fietkau
f2d5f3adbd
fix ppc compile
...
SVN-Revision: 5681
2006-11-30 17:02:25 +00:00
Mike Baker
176601bec9
little endian arm support
...
SVN-Revision: 5673
2006-11-29 02:39:31 +00:00
Imre Kaloz
7b9e1271ef
fix locale stuff (and there was much rejoicing)
...
SVN-Revision: 5671
2006-11-28 22:20:06 +00:00
Felix Fietkau
461375c939
another bsd bugfix
...
SVN-Revision: 5657
2006-11-27 05:23:22 +00:00
Felix Fietkau
ba962c723f
add a gcc 4.2 snapshot
...
SVN-Revision: 5625
2006-11-23 04:08:52 +00:00
Florian Fainelli
6896287581
Port the locale changes to the other gcc versions as well
...
SVN-Revision: 5608
2006-11-21 17:10:05 +00:00
Felix Fietkau
643744a99d
switch rb532 to the old gcc again. 4.1.1 is suddenly causing trouble...
...
SVN-Revision: 5605
2006-11-21 16:36:32 +00:00
Florian Fainelli
b80c2a145e
Forgot that part ( #926 )
...
SVN-Revision: 5599
2006-11-21 12:13:04 +00:00
Florian Fainelli
c9263207a5
Fix gcc config_largefile ( #926 )
...
SVN-Revision: 5598
2006-11-21 12:12:47 +00:00
Felix Fietkau
b2ed40a029
remove old patch
...
SVN-Revision: 5563
2006-11-18 20:41:26 +00:00
Felix Fietkau
e637a00d57
fix kernel-headers prepare ( #949 )
...
SVN-Revision: 5515
2006-11-12 12:47:11 +00:00
Felix Fietkau
646342f30f
fix gcc compile
...
SVN-Revision: 5511
2006-11-12 03:42:05 +00:00
Felix Fietkau
864ae8f613
more shell related fixes
...
SVN-Revision: 5509
2006-11-12 02:45:13 +00:00
Felix Fietkau
cf4e7af392
make target/linux/* directories self-contained, use the selected kernel version for the toolchain, autogenerate menuconfig and makefile code for target selection
...
SVN-Revision: 5498
2006-11-11 23:11:02 +00:00
Nicolas Thill
8ec5b1d614
oops, forgot to remove references to libnotimpl
...
SVN-Revision: 5356
2006-10-31 11:33:34 +00:00
Nicolas Thill
2f9448bd1f
move libnotimpl to /packages/libs, fix another typo in ./src/math.c
...
SVN-Revision: 5355
2006-10-31 11:29:54 +00:00
Imre Kaloz
2d2179f503
rename the xscale target to ixp4xx for the forthcoming iop target, add gcc 4.1 patch for arm
...
SVN-Revision: 5310
2006-10-27 10:26:00 +00:00