Commit Graph

51 Commits (60a4353fdd5bb91d209a6fe970c70361b15a0ea5)

Author SHA1 Message Date
Felix Fietkau 60a4353fdd do not use the wrapper scripts for exportable toolchains internally. on some systems the wrapper scripts are broken, and their use should be opt-in
SVN-Revision: 18454
15 years ago
Felix Fietkau 44aa03f2f9 Add a target (CONFIG_MAKE_CONFIG) that creates an exportable toolchain. The toolchain will zipped and saved under $(TOPDIR)/bin directory.
Signed-off-by: Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com>

SVN-Revision: 18419
15 years ago
Felix Fietkau 3a5deae00d gcc: add a config option for using the gcc graphite framework (disabled by default)
SVN-Revision: 18403
15 years ago
Felix Fietkau ce9ea905c1 gcc: fix build with cloog/ppl
SVN-Revision: 18266
15 years ago
Felix Fietkau 46cc3f164d gcc: compile libgcc and libstdc++ with -O2 instead of -Os on power pc to avoid generating references to gpr save/restore functions which cannot yet be resolved at this point
SVN-Revision: 18177
15 years ago
Felix Fietkau b59e59dcba gcc: fix compile on armv4t with the cs toolchain
SVN-Revision: 18131
15 years ago
Felix Fietkau e7c0b6aa00 gcc: fix bug reporting url in newer compiler versions
SVN-Revision: 18130
15 years ago
Florian Fainelli 0a18260fed add support for gcc-4.4.2, add missing gcc-4.4.1 md5sum
SVN-Revision: 18113
15 years ago
Felix Fietkau 60fb2fd748 gcc: prevent the libgcc configure script from enabling support for the fixed point math extension, as it can bloat up libgcc size to 1.4M on mips
SVN-Revision: 18066
15 years ago
Felix Fietkau f0f100551d add a gcc variant based on gcc 4.3.3 with codesourcery enhancements
SVN-Revision: 18059
15 years ago
Felix Fietkau 215ccb66e6 gcc: add llvm-gcc and llvm from trunk (does not successfully compile a target yet, but gets close)
SVN-Revision: 18019
15 years ago
Lars-Peter Clausen 9fb98fc03c disable tls for stdlibc++. fixes c++ inside a gcc-4.4.0 toolchain.
SVN-Revision: 16345
15 years ago
Felix Fietkau 141925202e fix the uclibc rebuild issue which leads to unresolved symbols in libnl (and possibly other libraries)
SVN-Revision: 15599
15 years ago
Felix Fietkau 010c9c48e0 remove obsolete gcc version md5sums
SVN-Revision: 15598
15 years ago
Nicolas Thill 8a38ccc1d1 gcc: symlink ./lib64 to ./lib for x86_64 as well
SVN-Revision: 15432
15 years ago
Florian Fainelli e15ca56024 add preliminary support for gcc-4.4.0, need to forward port the fhonour-copt patch
SVN-Revision: 15345
15 years ago
Felix Fietkau 56164a5815 add a modified version of the mips64 patch from #4603
SVN-Revision: 15249
15 years ago
Felix Fietkau ec6b3bf2be fix stampfile variables for the toolchain build (fixes gcc compile error)
SVN-Revision: 14862
15 years ago
Nicolas Thill 8a2030ff3d move common variables to a dedicated include file
SVN-Revision: 14648
15 years ago
Felix Fietkau 7eb1589875 build system refactoring in preparation for allowing packages to do host-build steps
SVN-Revision: 14610
16 years ago
Nicolas Thill 33a0eb3613 cosmetic & coherency fixes
SVN-Revision: 14397
16 years ago
Felix Fietkau 158c3917e9 add gcc 4.3.3, clean up gcc version config symbols
SVN-Revision: 14226
16 years ago
Nicolas Thill ec7b663c86 add support for gcc v4.3.1 & v4.3.2 (closes: #3479), thanks to Luigi Mantellini!
SVN-Revision: 14131
16 years ago
Nicolas Thill a3edea1b91 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)
SVN-Revision: 13931
16 years ago
Florian Fainelli a3ecf3d3dc Fix ssp enabling/disabling (#4388)
SVN-Revision: 13856
16 years ago
Imre Kaloz 7d78d5cad3 nuke old gcc 4.2 versions
SVN-Revision: 13483
16 years ago
Nicolas Thill f1ceaae24a add md5sums for binutils & gcc and use the GNU mirror facility
SVN-Revision: 13143
16 years ago
Felix Fietkau 799e7a8fa8 disable autorebuild for the toolchain, as it can easily lead to build breakages
SVN-Revision: 12492
16 years ago
Florian Fainelli cc99e5b35d Disable smash stacking support by default, but allow to enable it as an experimental feature
SVN-Revision: 12010
16 years ago
Nicolas Thill 89eb716470 use qstrip macro to strip quoted CONFIG_* strings
SVN-Revision: 11832
16 years ago
Felix Fietkau b672976e8e make sure the toolchain target dir really exists
SVN-Revision: 10913
16 years ago
Jeremy Kerr 077d84f543 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>

SVN-Revision: 10802
16 years ago
Florian Fainelli 1d482e1d39 Do not disable tls yet, uclibc-ntpl will support it soon
SVN-Revision: 10785
16 years ago
Florian Fainelli 3630b457a5 Disable tls support, uClibc does not support it, and it could lead to linking failures with some braindead autoconf programs
SVN-Revision: 10782
16 years ago
Imre Kaloz 915e6b89b5 fixup softfloat handling
SVN-Revision: 10003
17 years ago
Felix Fietkau e28b55f39f fix a few stampfile locations
SVN-Revision: 9587
17 years ago
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
17 years ago
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
17 years ago
Nicolas Thill bf392a7fc0 fix typo (closes: #2275)
SVN-Revision: 8492
17 years ago
Florian Fainelli e955458388 Disable multilib by default
SVN-Revision: 8471
17 years ago
Florian Fainelli 0143069883 Fix the stage2 compilation, no side effect with gcc4 (#2190)
SVN-Revision: 8409
17 years ago
Felix Fietkau c6bc77ea36 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
SVN-Revision: 8362
17 years ago
Felix Fietkau 7cc617cd7e fix the gcc stampfile for initial stage installation
SVN-Revision: 8250
17 years ago
Felix Fietkau 83a487c412 fix gcc 4.2.0 compile for ppc
SVN-Revision: 7761
17 years ago
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
17 years ago
Imre Kaloz 4374b41793 we don't need libmudflap at all
SVN-Revision: 7531
17 years ago
Felix Fietkau ba962c723f add a gcc 4.2 snapshot
SVN-Revision: 5625
18 years ago
Florian Fainelli b80c2a145e Forgot that part (#926)
SVN-Revision: 5599
18 years ago
Felix Fietkau 646342f30f fix gcc compile
SVN-Revision: 5511
18 years ago
Felix Fietkau 864ae8f613 more shell related fixes
SVN-Revision: 5509
18 years ago