aboutsummaryrefslogtreecommitdiffstats
path: root/target/toolchain/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* target: fix copying of licenses for SDK/toolchainAdrian Schmutzler2021-02-141-1/+4
| | | | | | | | | | | | | | | The SDK and target/toolchain copy the license file into their directories. During the rename/move from LICENSE to a LICENSES folder, this has not been updated. Update it now, and include the new COPYING file. While at it, improve formatting/indent. Fixes: 882e3014610b ("LICENSES: include all used licenses in LICENSES directory") Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* build: improve ccache supportRoman Yeryomin2020-07-111-1/+1
| | | | | | | | | | | | | | | | | | Set CCACHE_DIR to $(TOPDIR)/.ccache and CCACHE_BASEDIR to $(TOPDIR). This allows to do clean and dirclean. Cache hit rate for test build after dirclean is ~65%. If CCACHE is enabled stats are printed out at the end of building process. CCACHE_DIR config variable allows to override default, which could be useful when sharing cache with many builds. cacheclean make target allows to clean the cache. Changes from v1: - remove ccache directory using CCACHE_DIR variable - remove ccache leftovers from sdk and toolchain make files - introduce CONFIG_CCACHE_DIR variable - introduce cacheclean make target Signed-off-by: Roman Yeryomin <roman@advem.lv>
* build: get rid of host.mkFelix Fietkau2017-02-261-1/+0
| | | | | | Defined required host related variables in toplevel.mk instead Signed-off-by: Felix Fietkau <nbd@nbd.name>
* target/toolchain: Fix toolchain packaging without package buildMicha Lenk2016-09-061-0/+1
| | | | | | | | | | | | If the toolchain is packaged for later use as external toolchain, the resulting tarball is created in $BIN_DIR. But without building all packages first that directory isn't created, hence 'make target/toolchain/compile' fails when trying to create the toolchain tarball with error "Cannot open: No such file or directory". To fix that the $BIN_DIR is created before using it. Signed-off-by: Micha Lenk <micha@lenk.info>
* IB/SDK/toolchain: use lower cases filenamesAlexander Couzens2016-06-011-1/+1
| | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* IB/SDK/toolchain: use VERSION_DIST_SANITIZED instead of VERSION_DISTAlexander Couzens2016-06-011-1/+1
| | | | | | VERSION_DIST can contains spaces which produces problems when used as file name Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* targets: Use configured distribution name for SDK, IB, and Toolchain tarball ↵Felix Fietkau2016-01-031-1/+1
| | | | | | | | | | | | names We allow to configure the version distribution name; let's also use it for the tarballs (SDK, ImageBuilder, and SDK). Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> SVN-Revision: 48081
* target/toolchain: Fix tarball filenameFelix Fietkau2016-01-031-0/+1
| | | | | | | | | | Toolchain makefile was missing include of version.mk so the openwrt version was missing from the filename. This patch fixes that. Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> SVN-Revision: 48080
* toolchain: respect CONFIG_VERSION_FILENAMES and add host system suffixJo-Philipp Wich2015-02-071-4/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44311
* target/toolchain: strip files, leave out the initial gccFelix Fietkau2014-08-261-0/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42302
* derive system from hostcc to allow building inside a chrootJohn Crispin2012-08-221-2/+2
| | | | SVN-Revision: 33228
* target/toolchain: fix installation after r22723Gabor Juhos2010-09-041-3/+3
| | | | SVN-Revision: 22887
* target/toolchain: match toolchain directory name changes in r19885 & r20215 ↵Nicolas Thill2010-04-151-3/+3
| | | | | | (closes: #7148 & #7162) SVN-Revision: 20865
* do not use the wrapper scripts for exportable toolchains internally. on some ↵Felix Fietkau2009-11-191-0/+10
| | | | | | systems the wrapper scripts are broken, and their use should be opt-in SVN-Revision: 18454
* Add a target (CONFIG_MAKE_CONFIG) that creates an exportable toolchain. The ↵Felix Fietkau2009-11-141-0/+53
toolchain will zipped and saved under $(TOPDIR)/bin directory. Signed-off-by: Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com> SVN-Revision: 18419