aboutsummaryrefslogtreecommitdiffstats
path: root/include/host-build.mk
Commit message (Collapse)AuthorAgeFilesLines
* build: don't add -j for parallel builds with Make 4.2+Matthias Schiffer2016-06-151-1/+1
| | | | | | | | | | | | | | | | | | Make usually passes -j and jobserver arguments as part of MAKEFLAGS. LEDE removes MAKEFLAGS to have better control of the build, and re-adds the jobserver arguments with -j to the Make commandline where desired. Make 4.2+ behave differently with these arguments passed on the commandline than in MAKEFLAGS: -j will override the jobserver argument and the job count will be unlimited. Moving the flags to MAKEFLAGS will need many packages to be changed and tested; therefore, we opt for a less invasive change for now and just remove -j for Make 4.2+, as the jobserver argument alone is enough to enable parallel builds for these Make versions. Signed-off-by: Jo-Philipp Wich <jo@mein.io> Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* host-build.mk: change default installation prefix of package/* host builds ↵Felix Fietkau2016-01-201-10/+12
| | | | | | | | to staging_dir/target-*/host Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48401
* build: include homebrew include/library directory in cflags/ldflags on mac os xFelix Fietkau2015-10-051-0/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47139
* build: set CCACHE_DIR for host buildsFelix Fietkau2015-04-141-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45427
* include: use SHELL, not BASH for HOST_CONFIGURE_VARSJo-Philipp Wich2015-02-061-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44295
* include: remove static tool linking supportJo-Philipp Wich2015-02-061-6/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44286
* build: prevent spurious host-build re-builds by touching .built after the ↵Felix Fietkau2014-12-151-0/+1
| | | | | | | | install command before touching .installed Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43721
* build: BSD compile fixesFelix Fietkau2013-03-071-1/+1
| | | | | | | | | | | | | | | | following patch allows to build images for Qemu ARM on OpenBSD 5.2 amd64 and FreeBSD 9.1 amd64. Mostly small pieces of code changes to get things right on the specific platform. Updated the README to describe better, which tools on the host are required. Added some kind of prepare scripts to install needed tools on BSD via packages. Signed-off-by: Waldemar Brodkorb <mail@waldemar-brodkorb.de> SVN-Revision: 35900
* build: fix host build stampfile usage, fixes spurious errors with missing ↵Felix Fietkau2012-10-151-24/+13
| | | | | | opkg host binary after deleting the staging dir SVN-Revision: 33776
* build: add the + token to any commands that can pass through the jobserver, ↵Felix Fietkau2012-09-231-2/+2
| | | | | | fixes parallel build on some systems SVN-Revision: 33523
* host-build: add HOST_MAKE_FLAGS similar to package MAKE_FLAGSFelix Fietkau2012-09-221-1/+5
| | | | SVN-Revision: 33509
* build: ensure that package/host-build build system code does not run in ↵Felix Fietkau2012-09-171-0/+2
| | | | | | parallel, fixes rare spurious parallel build failures SVN-Revision: 33445
* build: add jobserver support for host buildsFelix Fietkau2012-09-151-1/+7
| | | | SVN-Revision: 33423
* do not pass optimization flags in HOST_CPPFLAGS (#12153)Jo-Philipp Wich2012-09-091-1/+1
| | | | SVN-Revision: 33351
* introduce a menuconfig option to turn off static linking of host utilitiesJo-Philipp Wich2012-08-131-1/+3
| | | | SVN-Revision: 33154
* host-build.mk: define a variable HOST_STATIC_LINKING which is set to ↵Jo-Philipp Wich2012-08-121-0/+4
| | | | | | "-static" on non-Darwin systems SVN-Revision: 33138
* build: add PKG_MIRROR_MD5SUM support for host buildsFelix Fietkau2012-06-061-0/+1
| | | | SVN-Revision: 32082
* tools: clean up Makefiles / make ccache workJohn Crispin2012-01-151-0/+1
| | | | SVN-Revision: 29754
* add a missing wrapper for the refresh target for host buildsFelix Fietkau2011-01-281-0/+1
| | | | SVN-Revision: 25193
* - implement hooks for hostbuilds - use host build hooks to implement fixups ↵Jo-Philipp Wich2010-12-131-1/+11
| | | | | | for host build - move separator declaration to rules.mk SVN-Revision: 24551
* use PREFIX/bin instead of PREFIX/sbin for all host builds (fixes e2fsprogs path)Felix Fietkau2010-11-221-1/+2
| | | | SVN-Revision: 24103
* deptest: Install of host tools has to be forced for every test, because the ↵Michael Büsch2010-11-031-2/+2
| | | | | | host staging dir is cleaned prior a test. SVN-Revision: 23825
* Fix typoMichael Büsch2010-10-161-2/+2
| | | | SVN-Revision: 23482
* Support force-disabling per-package parallel build with ↵Michael Büsch2010-10-161-1/+7
| | | | | | {PKG,HOST}_BUILD_PARALLEL:=0 SVN-Revision: 23480
* Add an option to default the default build rule to parallel build.Michael Büsch2010-08-201-1/+1
| | | | SVN-Revision: 22737
* Also support parallel build for host-packagesMichael Büsch2010-08-181-1/+3
| | | | SVN-Revision: 22698
* this patch fixes toolchain parallel build, which reduces build time.Travis Kemen2010-03-051-2/+2
| | | | | | | | | | | | | | | In order to enable parallel build, change line 21 of include/host-build.mk from: override MAKEFLAGS= to: override MAKEFLAGS=$(MAKE_JOBS) -Raphael SVN-Revision: 19995
* Prevent unnecessary host package rebuilds.Lars-Peter Clausen2010-01-031-11/+14
| | | | | | | | Sometimes `make install` touches a file inside the build directory, so it is betterr to create the build stamp after calling `make install` otherwise the package is going to be rebuild even though nothing really changed. SVN-Revision: 19021
* use $(HOST_CFLAGS) when not cross-compiling. Thanks Daniel GimpelevichAndy Boyett2009-10-301-0/+1
| | | | SVN-Revision: 18232
* host build: do not hide the configure commandFelix Fietkau2009-09-251-1/+1
| | | | SVN-Revision: 17716
* fix a typo that prevented host build specific variable exports from workingFelix Fietkau2009-04-301-2/+2
| | | | SVN-Revision: 15512
* add missing bits from [15451]Nicolas Thill2009-04-271-2/+2
| | | | SVN-Revision: 15453
* clean up automake/pkg-config handling, move separate host/package variable ↵Felix Fietkau2009-04-221-2/+10
| | | | | | exports to templates, fix automake path for host builds SVN-Revision: 15339
* move pkg config stuff to per-target exports to prevent interference with ↵Felix Fietkau2009-04-201-0/+2
| | | | | | host builds SVN-Revision: 15299
* add a default template for Host/InstallFelix Fietkau2009-04-061-0/+9
| | | | SVN-Revision: 15110
* fix calling the update target for host-only buildsFelix Fietkau2009-03-231-0/+1
| | | | SVN-Revision: 14997
* fix quilt variable and stampfile usage for host buildsFelix Fietkau2009-03-171-3/+5
| | | | SVN-Revision: 14910
* add PKG_HOST_ONLY variable to prevent target buildsFelix Fietkau2009-03-171-1/+1
| | | | SVN-Revision: 14906
* move host build in packages into a separate namespace: ↵Felix Fietkau2009-03-171-5/+11
| | | | | | package/<name>/host/<target> this allows dependencies between host and target packages, and saves unnecessary host builds for packages that contain both variants SVN-Revision: 14905
* make the compile: host-install dependency independent of the order in which ↵Felix Fietkau2009-03-121-2/+3
| | | | | | the makefiles were included SVN-Revision: 14853
* enable Host/Install on compile: if package.mk is includedFelix Fietkau2009-03-121-1/+1
| | | | SVN-Revision: 14852
* readd $(HOST_CONFIGURE_VARS) to Host/Configure/Default, missed in r14699Andy Boyett2009-03-021-5/+6
| | | | SVN-Revision: 14724
* adjust host-build.mk to bring it closer to package.mkFelix Fietkau2009-02-281-19/+25
| | | | SVN-Revision: 14699
* allow concurrent use of host-build.mk and package.mk as well as their templatesFelix Fietkau2009-02-221-15/+20
| | | | SVN-Revision: 14621
* eliminate redundancy by creating the quilt_used stampfile in the right placeFelix Fietkau2009-02-221-1/+0
| | | | SVN-Revision: 14620
* build system refactoring in preparation for allowing packages to do ↵Felix Fietkau2009-02-221-48/+48
| | | | | | host-build steps SVN-Revision: 14610
* allow cvs/git/hg/svn wrap_mirror to work for host tools as wellNicolas Thill2008-11-221-1/+2
| | | | SVN-Revision: 13313
* fixes for refresh/update handlingFelix Fietkau2007-09-291-0/+1
| | | | SVN-Revision: 9063
* move a stampfile to make it easier to override the patch templateFelix Fietkau2007-09-291-0/+1
| | | | SVN-Revision: 9062
* Refactor downloading code into download.mk Support multiple file downloads ↵Felix Fietkau2007-09-291-14/+11
| | | | | | Support svn downloads SVN-Revision: 9057