aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* toolchain: fix gcc depends on kernel headersHauke Mehrtens2019-09-041-1/+1
| | | | | | | | | | | | | GCC needs the kernel headers to compile. Some GCC file includes asm/unistd.h which is provided by the kernel headers. Normally the kernel headers build is very fast and ready before the gcc uses it, but if it clones the kernel from a slow git repository it takes longer and then it could be that the gcc already wants to use the kernel headers before they are available. This patch fixes this problem by adding the missing dependency. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com> (cherry picked from commit b20156ba704ed8e03d030b2f294d8d19bebd2f71)
* build: drop buildbot toolchain rebuild check when not using gitFelix Fietkau2018-09-241-0/+2
| | | | | | | | The check cleans and rebuilds the toolchain if it changed on update. When building from a source tarball, it is reasonable to expect that there will be no updates, so no rebuild check is necessary Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain: Replace YASM with NASMTed Hess2018-07-051-1/+1
| | | | | | | | | | Packages libx264 and ffmpeg are built with ASM options on x86 platforms. The current libx264 version no longer builds with YASM and requires NASM. ffmpeg 3.x can be built with either YASM or NASM however, furture 4.x versions will require NASM. Signed-off-by: Ted Hess <thess@kitschensync.net> Acked-by: Rosen Penev <rosenp@gmail.com>
* toolchain/insight: Remove from treeDaniel Engberg2017-05-291-1/+1
| | | | | | | | Insight hasn't been touched since 2009 and I can't find any references at least 6 years back of being used. Ubuntu and Debian removed insight years ago from their repos so I think we can safely remove this too. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* build: fix the toolchain rebuild checkFelix Fietkau2017-02-161-8/+8
| | | | | | | | | - Check for changes in toolchain/ only - Only replace the stamp file if it was changed - Fix dependencies for staging dir prepare - Move the stamp file to TOOLCHAIN_DIR Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain: force a full rebuild on buildbot if the toolchain changedFelix Fietkau2017-02-151-0/+12
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain: remove separate prepare/ stepFelix Fietkau2017-02-111-8/+1
| | | | | | It was a leftover from an old obsoleted dependency chain Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: drop circular dependencyFelix Fietkau2017-02-101-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: remove separate /install step for host buildsFelix Fietkau2017-01-181-22/+23
| | | | | | Reduces the number of recursive make invocations Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: implement make check and make package/X/checkFelix Fietkau2016-12-171-0/+1
| | | | | | | | | | | | | | | | This is intended to be used for a wide array of package sanity checks. The first check that is implemented is for the hash of downloaded files. It checks: - Missing hash - Use of SHA256 instead of MD5 - dl/<file> hash not matching hash in makefile - deprecated MD5SUM variable The deprecated MD5SUM variable check is skipped for feeds/ until OpenWrt is updated as well Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain: include yasm in x86 toolchainDaniel Golle2016-08-191-1/+1
| | | | | | | Some libraries require yasm to build with in-line assembly for x86 targets. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* toolchain: skip gcc/minimal for muslFelix Fietkau2016-07-071-10/+19
| | | | | | | | No extra libc header build step is done, so no extra toolchain is needed for preparing it. This saves a significant amount of build time and disk space Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain: add fortify-headers, enable FORTIFY_SOURCE by defaultSteven Barth2015-06-231-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46117
* toolchain: remove leftovers from old llvm-gcc experimentsFelix Fietkau2015-03-151-5/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44783
* build: ensure tools are built before building the toolchainFelix Fietkau2014-12-131-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43693
* toolchain: update build steps docNicolas Thill2014-02-181-6/+6
| | | | SVN-Revision: 39631
* toolchain: allow choosing the MIPS64 user-land ABIFlorian Fainelli2013-04-051-0/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36205
* 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> SVN-Revision: 36140
* toolchain: sync eglibc headers/build split with uclibc changesFelix Fietkau2012-07-031-17/+8
| | | | SVN-Revision: 32584
* toolchain: fix libc headers dependency on kernel headers + minimal gccFelix Fietkau2012-07-031-1/+2
| | | | SVN-Revision: 32582
* 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 SVN-Revision: 32557
* 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 SVN-Revision: 31503
* use ext-toolchain.sh to integrate external toolchains Use ext-toolchain.sh ↵Jo-Philipp Wich2012-01-181-1/+1
| | | | | | 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. SVN-Revision: 29766
* 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 SVN-Revision: 29352
* make the build system a bit more silent without V=99Felix Fietkau2011-04-041-1/+1
| | | | SVN-Revision: 26460
* add explicit dependencies between gcc prepare stages, fixes source download ↵Jo-Philipp Wich2011-01-121-0/+2
| | | | | | race with make -j (#8596) SVN-Revision: 24969
* 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 SVN-Revision: 22871
* 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 SVN-Revision: 22319
* gcc: add llvm-gcc and llvm from trunk (does not successfully compile a ↵Felix Fietkau2009-10-101-0/+5
| | | | | | target yet, but gets close) SVN-Revision: 18019
* add external toolchain support, enhance native toolchain support (special ↵Nicolas Thill2009-09-231-4/+4
| | | | | | thanks to Luigi Mantellini for his help... and patience ;) SVN-Revision: 17682
* add the insight gdb frontend (#4701)Florian Fainelli2009-07-261-1/+1
| | | | SVN-Revision: 17019
* move the toolchain_install stampfile to the right place to fix spurious ↵Felix Fietkau2009-07-111-1/+1
| | | | | | missing toolchain errors after cleaning stuff SVN-Revision: 16776
* add support for alternative C libraries (currently only glibc/eglibc) other ↵Nicolas Thill2009-01-081-9/+32
| | | | | | (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
* add some sanity checkingFelix Fietkau2008-06-151-1/+3
| | | | SVN-Revision: 11473
* 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 SVN-Revision: 8694
* build system cleanup/restructuring as described in ↵Felix Fietkau2007-08-071-2/+13
| | | | | | http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html SVN-Revision: 8362
* 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 SVN-Revision: 8247
* next round of cleanup, convert target/ - make -j works now ;)Felix Fietkau2007-07-301-1/+1
| | | | SVN-Revision: 8242
* next round of build system cleanup - convert package/ to new structureFelix Fietkau2007-07-301-2/+2
| | | | SVN-Revision: 8236
* remove leftover stuffFelix Fietkau2007-07-301-1/+0
| | | | SVN-Revision: 8234
* fix compile errors with make 3.80Felix Fietkau2007-07-301-1/+1
| | | | SVN-Revision: 8230
* use $(curdir) againFelix Fietkau2007-07-281-12/+14
| | | | SVN-Revision: 8208
* build system fixes, more cleanupFelix Fietkau2007-07-281-49/+16
| | | | SVN-Revision: 8207
* add update target to toolchain/Felix Fietkau2007-06-281-1/+1
| | | | SVN-Revision: 7754
* enable the refresh target in toolchain/Felix Fietkau2007-06-281-1/+1
| | | | SVN-Revision: 7751
* 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... SVN-Revision: 7003
* remove remaining unnecessary dependencyFelix Fietkau2007-02-281-3/+0
| | | | SVN-Revision: 6423
* move ccache to tools/ and fix potential dependency issueFelix Fietkau2007-02-271-1/+0
| | | | SVN-Revision: 6413
* clean up stampfile mess for tools/ and toolchain/Felix Fietkau2007-02-251-30/+12
| | | | SVN-Revision: 6357
* fix ccache build orderFelix Fietkau2006-12-141-1/+4
| | | | SVN-Revision: 5783