Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | build: don't add -j for parallel builds with Make 4.2+ | Matthias Schiffer | 2016-06-15 | 1 | -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 Fietkau | 2016-01-20 | 1 | -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 x | Felix Fietkau | 2015-10-05 | 1 | -0/+5 |
| | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47139 | ||||
* | build: set CCACHE_DIR for host builds | Felix Fietkau | 2015-04-14 | 1 | -0/+1 |
| | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45427 | ||||
* | include: use SHELL, not BASH for HOST_CONFIGURE_VARS | Jo-Philipp Wich | 2015-02-06 | 1 | -1/+1 |
| | | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44295 | ||||
* | include: remove static tool linking support | Jo-Philipp Wich | 2015-02-06 | 1 | -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 Fietkau | 2014-12-15 | 1 | -0/+1 |
| | | | | | | | | install command before touching .installed Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43721 | ||||
* | build: BSD compile fixes | Felix Fietkau | 2013-03-07 | 1 | -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 Fietkau | 2012-10-15 | 1 | -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 Fietkau | 2012-09-23 | 1 | -2/+2 |
| | | | | | | fixes parallel build on some systems SVN-Revision: 33523 | ||||
* | host-build: add HOST_MAKE_FLAGS similar to package MAKE_FLAGS | Felix Fietkau | 2012-09-22 | 1 | -1/+5 |
| | | | | SVN-Revision: 33509 | ||||
* | build: ensure that package/host-build build system code does not run in ↵ | Felix Fietkau | 2012-09-17 | 1 | -0/+2 |
| | | | | | | parallel, fixes rare spurious parallel build failures SVN-Revision: 33445 | ||||
* | build: add jobserver support for host builds | Felix Fietkau | 2012-09-15 | 1 | -1/+7 |
| | | | | SVN-Revision: 33423 | ||||
* | do not pass optimization flags in HOST_CPPFLAGS (#12153) | Jo-Philipp Wich | 2012-09-09 | 1 | -1/+1 |
| | | | | SVN-Revision: 33351 | ||||
* | introduce a menuconfig option to turn off static linking of host utilities | Jo-Philipp Wich | 2012-08-13 | 1 | -1/+3 |
| | | | | SVN-Revision: 33154 | ||||
* | host-build.mk: define a variable HOST_STATIC_LINKING which is set to ↵ | Jo-Philipp Wich | 2012-08-12 | 1 | -0/+4 |
| | | | | | | "-static" on non-Darwin systems SVN-Revision: 33138 | ||||
* | build: add PKG_MIRROR_MD5SUM support for host builds | Felix Fietkau | 2012-06-06 | 1 | -0/+1 |
| | | | | SVN-Revision: 32082 | ||||
* | tools: clean up Makefiles / make ccache work | John Crispin | 2012-01-15 | 1 | -0/+1 |
| | | | | SVN-Revision: 29754 | ||||
* | add a missing wrapper for the refresh target for host builds | Felix Fietkau | 2011-01-28 | 1 | -0/+1 |
| | | | | SVN-Revision: 25193 | ||||
* | - implement hooks for hostbuilds - use host build hooks to implement fixups ↵ | Jo-Philipp Wich | 2010-12-13 | 1 | -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 Fietkau | 2010-11-22 | 1 | -1/+2 |
| | | | | SVN-Revision: 24103 | ||||
* | deptest: Install of host tools has to be forced for every test, because the ↵ | Michael Büsch | 2010-11-03 | 1 | -2/+2 |
| | | | | | | host staging dir is cleaned prior a test. SVN-Revision: 23825 | ||||
* | Fix typo | Michael Büsch | 2010-10-16 | 1 | -2/+2 |
| | | | | SVN-Revision: 23482 | ||||
* | Support force-disabling per-package parallel build with ↵ | Michael Büsch | 2010-10-16 | 1 | -1/+7 |
| | | | | | | {PKG,HOST}_BUILD_PARALLEL:=0 SVN-Revision: 23480 | ||||
* | Add an option to default the default build rule to parallel build. | Michael Büsch | 2010-08-20 | 1 | -1/+1 |
| | | | | SVN-Revision: 22737 | ||||
* | Also support parallel build for host-packages | Michael Büsch | 2010-08-18 | 1 | -1/+3 |
| | | | | SVN-Revision: 22698 | ||||
* | this patch fixes toolchain parallel build, which reduces build time. | Travis Kemen | 2010-03-05 | 1 | -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 Clausen | 2010-01-03 | 1 | -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 Gimpelevich | Andy Boyett | 2009-10-30 | 1 | -0/+1 |
| | | | | SVN-Revision: 18232 | ||||
* | host build: do not hide the configure command | Felix Fietkau | 2009-09-25 | 1 | -1/+1 |
| | | | | SVN-Revision: 17716 | ||||
* | fix a typo that prevented host build specific variable exports from working | Felix Fietkau | 2009-04-30 | 1 | -2/+2 |
| | | | | SVN-Revision: 15512 | ||||
* | add missing bits from [15451] | Nicolas Thill | 2009-04-27 | 1 | -2/+2 |
| | | | | SVN-Revision: 15453 | ||||
* | clean up automake/pkg-config handling, move separate host/package variable ↵ | Felix Fietkau | 2009-04-22 | 1 | -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 Fietkau | 2009-04-20 | 1 | -0/+2 |
| | | | | | | host builds SVN-Revision: 15299 | ||||
* | add a default template for Host/Install | Felix Fietkau | 2009-04-06 | 1 | -0/+9 |
| | | | | SVN-Revision: 15110 | ||||
* | fix calling the update target for host-only builds | Felix Fietkau | 2009-03-23 | 1 | -0/+1 |
| | | | | SVN-Revision: 14997 | ||||
* | fix quilt variable and stampfile usage for host builds | Felix Fietkau | 2009-03-17 | 1 | -3/+5 |
| | | | | SVN-Revision: 14910 | ||||
* | add PKG_HOST_ONLY variable to prevent target builds | Felix Fietkau | 2009-03-17 | 1 | -1/+1 |
| | | | | SVN-Revision: 14906 | ||||
* | move host build in packages into a separate namespace: ↵ | Felix Fietkau | 2009-03-17 | 1 | -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 Fietkau | 2009-03-12 | 1 | -2/+3 |
| | | | | | | the makefiles were included SVN-Revision: 14853 | ||||
* | enable Host/Install on compile: if package.mk is included | Felix Fietkau | 2009-03-12 | 1 | -1/+1 |
| | | | | SVN-Revision: 14852 | ||||
* | readd $(HOST_CONFIGURE_VARS) to Host/Configure/Default, missed in r14699 | Andy Boyett | 2009-03-02 | 1 | -5/+6 |
| | | | | SVN-Revision: 14724 | ||||
* | adjust host-build.mk to bring it closer to package.mk | Felix Fietkau | 2009-02-28 | 1 | -19/+25 |
| | | | | SVN-Revision: 14699 | ||||
* | allow concurrent use of host-build.mk and package.mk as well as their templates | Felix Fietkau | 2009-02-22 | 1 | -15/+20 |
| | | | | SVN-Revision: 14621 | ||||
* | eliminate redundancy by creating the quilt_used stampfile in the right place | Felix Fietkau | 2009-02-22 | 1 | -1/+0 |
| | | | | SVN-Revision: 14620 | ||||
* | build system refactoring in preparation for allowing packages to do ↵ | Felix Fietkau | 2009-02-22 | 1 | -48/+48 |
| | | | | | | host-build steps SVN-Revision: 14610 | ||||
* | allow cvs/git/hg/svn wrap_mirror to work for host tools as well | Nicolas Thill | 2008-11-22 | 1 | -1/+2 |
| | | | | SVN-Revision: 13313 | ||||
* | fixes for refresh/update handling | Felix Fietkau | 2007-09-29 | 1 | -0/+1 |
| | | | | SVN-Revision: 9063 | ||||
* | move a stampfile to make it easier to override the patch template | Felix Fietkau | 2007-09-29 | 1 | -0/+1 |
| | | | | SVN-Revision: 9062 | ||||
* | Refactor downloading code into download.mk Support multiple file downloads ↵ | Felix Fietkau | 2007-09-29 | 1 | -14/+11 |
| | | | | | | Support svn downloads SVN-Revision: 9057 |