aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* toolchain: add fortify-headers, enable FORTIFY_SOURCE by defaultSteven Barth2015-06-231-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46117 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: remove leftovers from old llvm-gcc experimentsFelix Fietkau2015-03-151-5/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44783 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: ensure tools are built before building the toolchainFelix Fietkau2014-12-131-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43693 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: update build steps docNicolas Thill2014-02-181-6/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39631 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: allow choosing the MIPS64 user-land ABIFlorian Fainelli2013-04-051-0/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36205 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: stop generating broken symlink in TOOLCHAIN_DIR/libLuka Perkov2013-03-281-1/+1
| | | | | | | | | | | | It turns out that the symlink may exists already by the time the toolchain Makefile gets an opportunity to run. While we asked to replace the target, ln doesn't do so until after dereferencing the existing symlink. This results in an unintended symlink that refers to itself. Instead, create the link without dereferencing any symlinks by using the -n option. Signed-off-by: John Szakmeister <john@szakmeister.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36140 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: sync eglibc headers/build split with uclibc changesFelix Fietkau2012-07-031-17/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32584 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: fix libc headers dependency on kernel headers + minimal gccFelix Fietkau2012-07-031-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32582 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uClibc: split the package into the main directory and the headers/ and ↵Felix Fietkau2012-06-301-4/+18
| | | | | | utils/ subdirectories to clean up build order and fix quilt support git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32557 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/glibc*] purge support for glibc - use eglibc instead!Mirko Vogt2012-04-281-4/+1
| | | | | | for reference: http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg13425.html git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31503 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] use ext-toolchain.sh to integrate external toolchainsJo-Philipp Wich2012-01-181-1/+1
| | | | | | | | | Use ext-toolchain.sh to wrap external toolchain commands, abort build if certain features such as CONFIG_SOFT_FLOAT or CONFIG_IPV6 are enabled but not supported by the toolchain. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29766 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add a lib64 symlink in staging_dir/host and staging_dir/toolchain* ↵Felix Fietkau2011-11-281-0/+1
| | | | | | for systems that prefer this as library path (e.g. current SuSE), fixes mpfr and gcc build git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29352 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make the build system a bit more silent without V=99Felix Fietkau2011-04-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26460 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] add explicit dependencies between gcc prepare stages, fixes ↵Jo-Philipp Wich2011-01-121-0/+2
| | | | | | source download race with make -j (#8596) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24969 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a command for printing a cleaned up make target database - will be used ↵Felix Fietkau2010-09-011-0/+4
| | | | | | to analyze package dependencies at some point git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22871 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: split up the build process into three distinct stages (minimal, ↵Felix Fietkau2010-07-201-8/+8
| | | | | | initial, final), to clean up the dependency handling nastiness and to improve support for rebuilding parts of the toolchain git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22319 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: add llvm-gcc and llvm from trunk (does not successfully compile a ↵Felix Fietkau2009-10-101-0/+5
| | | | | | target yet, but gets close) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18019 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] add external toolchain support, enhance native toolchain support ↵Nicolas Thill2009-09-231-4/+4
| | | | | | (special thanks to Luigi Mantellini for his help... and patience ;) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17682 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] add the insight gdb frontend (#4701)Florian Fainelli2009-07-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17019 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move the toolchain_install stampfile to the right place to fix spurious ↵Felix Fietkau2009-07-111-1/+1
| | | | | | missing toolchain errors after cleaning stuff git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16776 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [massive] add support for alternative C libraries (currently only glibc/eglibc)Nicolas Thill2009-01-081-9/+32
| | | | | | | | | | | 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
* add some sanity checkingFelix Fietkau2008-06-151-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11473 3c298f89-4303-0410-b956-a3cf2f4a3e73
* major target cleanup. it is now possible to have subtargets that can ↵Felix Fietkau2007-09-081-1/+3
| | | | | | 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
* build system cleanup/restructuring as described in ↵Felix Fietkau2007-08-071-2/+13
| | | | | | 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
* no need to call compile,install on the kernel-headers dir - this gets rid of ↵Felix Fietkau2007-07-301-0/+2
| | | | | | another unnecessary autorebuild check git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8247 3c298f89-4303-0410-b956-a3cf2f4a3e73
* next round of cleanup, convert target/ - make -j works now ;)Felix Fietkau2007-07-301-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* next round of build system cleanup - convert package/ to new structureFelix Fietkau2007-07-301-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8236 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove leftover stuffFelix Fietkau2007-07-301-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8234 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix compile errors with make 3.80Felix Fietkau2007-07-301-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8230 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use $(curdir) againFelix Fietkau2007-07-281-12/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8208 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build system fixes, more cleanupFelix Fietkau2007-07-281-49/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8207 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add update target to toolchain/Felix Fietkau2007-06-281-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7754 3c298f89-4303-0410-b956-a3cf2f4a3e73
* enable the refresh target in toolchain/Felix Fietkau2007-06-281-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7751 3c298f89-4303-0410-b956-a3cf2f4a3e73
* the default_subtargets template was a bad idea, since different makefiles ↵Felix Fietkau2007-04-181-1/+11
| | | | | | require different types of dependencies for subtargets. nuke it... git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7003 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove remaining unnecessary dependencyFelix Fietkau2007-02-281-3/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6423 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move ccache to tools/ and fix potential dependency issueFelix Fietkau2007-02-271-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6413 3c298f89-4303-0410-b956-a3cf2f4a3e73
* clean up stampfile mess for tools/ and toolchain/Felix Fietkau2007-02-251-30/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6357 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix ccache build orderFelix Fietkau2006-12-141-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5783 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add ccache if not installed/installable on the host-systemFlorian Fainelli2006-12-111-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5758 3c298f89-4303-0410-b956-a3cf2f4a3e73
* oops, forgot to remove references to libnotimplNicolas Thill2006-10-311-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5356 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix gene2fs build on freebsdFelix Fietkau2006-10-101-1/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5019 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add portability fixes for toolchain/tools (full tools/toolchain build works ↵Felix Fietkau2006-09-271-6/+0
| | | | | | on osx now) git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4867 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move tools from toolchain/ to tools/Felix Fietkau2006-09-271-9/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4866 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add basic support for the Magicbox boardsImre Kaloz2006-08-251-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4672 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add secret option to use host's toolchain when native compilingMike Baker2006-08-101-4/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4553 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add genext2fs to build ext2 filesystem imagesNicolas Thill2006-07-221-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4213 3c298f89-4303-0410-b956-a3cf2f4a3e73
* change 'source' to 'download'Mike Baker2006-07-201-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4176 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add missing copyrightFelix Fietkau2006-06-271-0/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4094 3c298f89-4303-0410-b956-a3cf2f4a3e73
* massive cleanup of toolchain/Felix Fietkau2006-06-211-5/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4038 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build system cleanup. move shared include files into $(TOPDIR)/include, move ↵Felix Fietkau2006-06-211-1/+2
| | | | | | lzma, mkfs.* into toolchain/ git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4032 3c298f89-4303-0410-b956-a3cf2f4a3e73