nbd
3f577f4c40
fix stampfile variables for the toolchain build (fixes gcc compile error)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-13 12:50:23 +00:00
nico
8acca98ded
[toolchain] move common variables to a dedicated include file
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 23:52:27 +00:00
nbd
800e84cc0f
build system refactoring in preparation for allowing packages to do host-build steps
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 04:37:20 +00:00
nico
42b028fa14
[toolchain] cosmetic & coherency fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-03 21:25:48 +00:00
nbd
f642dc6174
add gcc 4.3.3, clean up gcc version config symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-27 20:08:34 +00:00
nico
fd8969afc4
[toolchain] add support for gcc v4.3.1 & v4.3.2 ( closes : #3479 ), thanks to Luigi Mantellini!
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 11:58:17 +00:00
nico
c3c59f4189
[massive] add support for alternative C libraries (currently only glibc/eglibc)
...
other (related) changes:
- kernel headers are now installed using "make headers_install" on 2.6
- target names now contain an openwrt "vendor" tag (e.g. mips-openwrt-linux-gnu)
- build directory names now contain gcc/libc name/version
- default cpu for x86 is now i486 (required to build glibc/eglibc)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-08 01:49:11 +00:00
florian
421612f234
Fix ssp enabling/disabling ( #4388 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-04 12:56:31 +00:00
kaloz
c4d1c811de
nuke old gcc 4.2 versions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 18:32:02 +00:00
nico
7f9cbfdbd6
add md5sums for binutils & gcc and use the GNU mirror facility
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-08 21:18:33 +00:00
nbd
5ef8ada0f7
disable autorebuild for the toolchain, as it can easily lead to build breakages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-02 10:57:35 +00:00
florian
2c8df11418
Disable smash stacking support by default, but allow to enable it as an experimental feature
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 12:54:28 +00:00
nico
01ed40ec23
use qstrip macro to strip quoted CONFIG_* strings
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-14 23:24:58 +00:00
nbd
add5d6ec82
make sure the toolchain target dir really exists
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-22 20:30:55 +00:00
jk
7e4be8edea
[toolchain] provide a cleaner way to specify a biarch toolchain build
...
Currently, to build a biarch toolchain, we need to explicitly give
options to the binutils and gcc configure commands:
CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS="--enable-targets=powerpc64-linux-uclibc"
CONFIG_EXTRA_GCC_CONFIG_OPTIONS="--enable-biarch --enable-targets=powerpc64-linux-uclibc"
This change replaces the command line options with an 'extra arch'
configure option:
CONFIG_EXTRA_TARGET_ARCH=y
CONFIG_EXTRA_TARGET_ARCH_NAME="powerpc64"
And a way to invoke this extra arch on the compiler command-line:
CONFIG_EXTRA_TARGET_ARCH_OPTS="-m64"
In this case, this results in an extra compiler:
'powerpc64-linux-uclibc-gcc', which invokes
'powerpc-linux-uclibc-gcc -m64'
This is a more standard way of building biarch toolchains, and allows
the packages to not have to care about how to invoke the 64-bit
compiler.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-12 23:14:42 +00:00
florian
f8d56a3a3f
Do not disable tls yet, uclibc-ntpl will support it soon
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-10 15:52:38 +00:00
florian
0a30615206
Disable tls support, uClibc does not support it, and it could lead to linking failures with some braindead autoconf programs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-10 14:05:38 +00:00
kaloz
11c2779e23
fixup softfloat handling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:06:47 +00:00
nbd
d5a53f3c57
fix a few stampfile locations
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-20 19:58:49 +00:00
nbd
ebe4d35428
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23 06:23:17 +00:00
nbd
6db7ad74f6
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 19:55:42 +00:00
nico
55b9f8f5dd
fix typo ( closes : #2275 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26 13:00:27 +00:00
florian
ef9765bcc6
Disable multilib by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-23 16:08:09 +00:00
florian
edc76f93c2
Fix the stage2 compilation, no side effect with gcc4 ( #2190 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-13 16:26:58 +00:00
nbd
12c49b6a6a
build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07 00:04:25 +00:00
nbd
aeef389959
fix the gcc stampfile for initial stage installation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 22:27:37 +00:00
nbd
f14aaeaa4b
fix gcc 4.2.0 compile for ppc
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 19:52:09 +00:00
nbd
f26af3d30d
replace gcc 4.2 snapshot with 4.2.0 release (sync patches with uclibc buildroot), adjust gcc makefile for PATCH_DIR changes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 07:30:25 +00:00
kaloz
7067099c14
we don't need libmudflap at all
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-08 10:35:23 +00:00
nbd
b5c2ac739d
add a gcc 4.2 snapshot
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-23 04:08:52 +00:00
florian
e484e106e6
Forgot that part ( #926 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-21 12:13:04 +00:00
nbd
13a66f1285
fix gcc compile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-12 03:42:05 +00:00
nbd
4134d3b68a
more shell related fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-12 02:45:13 +00:00
nbd
27c68c3f75
fix gcc compile
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 19:55:54 +00:00
nbd
44af1866aa
move tools from toolchain/ to tools/
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-27 14:06:46 +00:00
nbd
bddf7f5837
fix gcc symlink install
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-29 19:30:05 +00:00
mbm
ef998d64e3
set PATH in rules.mk
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-04 11:59:52 +00:00
nbd
94266d6389
massive cleanup of toolchain/
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 06:19:43 +00:00
nbd
72f68d6763
remove libgcc hack
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-13 23:33:21 +00:00
nbd
06265758be
cleanup; replace .PHONY with FORCE; disable gdb by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-31 23:29:05 +00:00
nbd
00a355fbf7
fix toolchain build, remove some old gcc junk
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-30 16:53:36 +00:00
nico
6e8ac7b3c5
fix GCC version.
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-22 21:52:54 +00:00
mbm
02eae88c35
fix BR2_ and CONFIG_ issues
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-12 19:08:03 +00:00
kaloz
3422687063
make gcc4 depend on libgcc, and disable the libgcc hack for it
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3161 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-02-06 11:26:51 +00:00
mbm
82daa5e9c0
change cp to $(CP)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-02-01 23:53:19 +00:00
kaloz
f15ac81113
fix libgcc handling for gcc 3.4.5 and 4.0.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-01-28 15:34:33 +00:00
nbd
6a25fe6447
add 'OpenWrt-2.0' to gcc version info
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-01-27 18:51:42 +00:00
wbx
93a1cc78a5
patch for spec file of gcc 3.4.4, so that libgss library is not
...
automatically linked into every binary. explicitely link it into needed
packages (kismet, nmap, samba) and add dependencies.
idea and patch from sven-ola, thx. Saves 16 kb in the default squashfs
images.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-01-04 08:37:19 +00:00
nbd
027be0e896
add a better mirror for gcc
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-08-13 16:54:21 +00:00
nbd
f71d35c99e
fix weird toolchain build error
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-07-29 00:07:47 +00:00