Commit Graph

56 Commits (fe799c19a6b8d1a5a4f4e1fcee3eba9bf58cbca4)

Author SHA1 Message Date
Felix Fietkau fe799c19a6 remove obsolete gcc version md5sums
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-04 18:40:22 +00:00
Nicolas Thill 59b233cb01 [toolchain] gcc: symlink ./lib64 to ./lib for x86_64 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27 10:14:30 +00:00
Florian Fainelli 8b65143fd1 [toolchain] add preliminary support for gcc-4.4.0, need to forward port the fhonour-copt patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-23 09:44:57 +00:00
Felix Fietkau f0f9ec9c56 add a modified version of the mips64 patch from #4603
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-18 17:03:55 +00:00
Felix Fietkau b161730496 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
Nicolas Thill 84f43d1453 [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
Felix Fietkau b892e1fb85 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
Nicolas Thill 293b872934 [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
Felix Fietkau 41b4d9dca2 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
Nicolas Thill d748bad85e [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
Nicolas Thill 3b75e47f8f [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 Fainelli cf59f8469a 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
Imre Kaloz 3e2defe46a 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
Nicolas Thill 850a33d79c 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
Felix Fietkau 78aec4b21d 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 Fainelli 0ae9727f8b 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
Nicolas Thill 119bfa9050 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
Felix Fietkau 6e4bdf784b 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
Jeremy Kerr e5eb114697 [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 Fainelli 215e237e9f 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 Fainelli 6e62677c05 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
Imre Kaloz 08e9c42e67 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
Felix Fietkau 5a9cf90163 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
Felix Fietkau 4e577f8c71 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
Felix Fietkau 6bcd07afdd 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
Nicolas Thill 5780bcb8db 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 Fainelli a6c626e609 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 Fainelli d16e4130df 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
Felix Fietkau d10a56dc58 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
Felix Fietkau a6c33d3511 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
Felix Fietkau 8df096ed3e 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
Felix Fietkau 018a1790a1 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
Imre Kaloz 272253c061 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
Felix Fietkau 2b3b480521 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 Fainelli 44c8f83026 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
Felix Fietkau 87f59ecd7c 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
Felix Fietkau 309572ec08 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
Felix Fietkau 90c6531c37 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
Felix Fietkau a723361df9 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
Felix Fietkau b0eea6985d 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
Mike Baker 2ffe012ebb 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
Felix Fietkau 13078b79e5 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
Felix Fietkau 3496b2283a 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
Felix Fietkau 56ca361743 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
Felix Fietkau 62ee8601cf 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
Nicolas Thill da4772e5d5 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
Mike Baker 20e4ecc021 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
Imre Kaloz b617bcc343 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
Mike Baker e0af0a4eb8 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
Imre Kaloz 0e3daa4874 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