Commit Graph

43 Commits

Author SHA1 Message Date
Michael Büsch fde498904f Add an option to default the default build rule to parallel build.
SVN-Revision: 22737
2010-08-20 14:48:59 +00:00
Michael Büsch f4daa84832 Also support parallel build for host-packages
SVN-Revision: 22698
2010-08-18 14:23:06 +00:00
Travis Kemen cf7199f48b this patch fixes toolchain parallel build, which reduces build time.
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
2010-03-05 20:15:12 +00:00
Lars-Peter Clausen 144fd07cd8 Prevent unnecessary host package rebuilds.
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
2010-01-03 18:00:28 +00:00
Andy Boyett 1141aecd2a use $(HOST_CFLAGS) when not cross-compiling. Thanks Daniel Gimpelevich
SVN-Revision: 18232
2009-10-30 22:52:27 +00:00
Felix Fietkau 7de1e0f116 host build: do not hide the configure command
SVN-Revision: 17716
2009-09-25 09:28:14 +00:00
Felix Fietkau e3fc6c9b88 fix a typo that prevented host build specific variable exports from working
SVN-Revision: 15512
2009-04-30 14:15:45 +00:00
Nicolas Thill f0a3d4d501 add missing bits from [15451]
SVN-Revision: 15453
2009-04-27 16:02:21 +00:00
Felix Fietkau 63129f9b4c clean up automake/pkg-config handling, move separate host/package variable exports to templates, fix automake path for host builds
SVN-Revision: 15339
2009-04-22 22:05:55 +00:00
Felix Fietkau 729e0fa4d1 move pkg config stuff to per-target exports to prevent interference with host builds
SVN-Revision: 15299
2009-04-20 18:56:57 +00:00
Felix Fietkau 35073025b4 add a default template for Host/Install
SVN-Revision: 15110
2009-04-06 09:56:06 +00:00
Felix Fietkau 0a81b47617 fix calling the update target for host-only builds
SVN-Revision: 14997
2009-03-23 18:33:24 +00:00
Felix Fietkau 9b96b24e32 fix quilt variable and stampfile usage for host builds
SVN-Revision: 14910
2009-03-17 03:21:52 +00:00
Felix Fietkau 7ec4ad271e add PKG_HOST_ONLY variable to prevent target builds
SVN-Revision: 14906
2009-03-17 02:37:04 +00:00
Felix Fietkau ddcfaeb1e5 move host build in packages into a separate namespace: 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
2009-03-17 02:20:34 +00:00
Felix Fietkau b29f9112df make the compile: host-install dependency independent of the order in which the makefiles were included
SVN-Revision: 14853
2009-03-12 14:07:08 +00:00
Felix Fietkau 252c2229f8 enable Host/Install on compile: if package.mk is included
SVN-Revision: 14852
2009-03-12 14:00:26 +00:00
Andy Boyett 4911754522 readd $(HOST_CONFIGURE_VARS) to Host/Configure/Default, missed in r14699
SVN-Revision: 14724
2009-03-02 03:03:21 +00:00
Felix Fietkau 333fc3f7e1 adjust host-build.mk to bring it closer to package.mk
SVN-Revision: 14699
2009-02-28 21:03:17 +00:00
Felix Fietkau aa0778f77e allow concurrent use of host-build.mk and package.mk as well as their templates
SVN-Revision: 14621
2009-02-22 18:10:05 +00:00
Felix Fietkau bc6fcb0067 eliminate redundancy by creating the quilt_used stampfile in the right place
SVN-Revision: 14620
2009-02-22 17:50:31 +00:00
Felix Fietkau 7eb1589875 build system refactoring in preparation for allowing packages to do host-build steps
SVN-Revision: 14610
2009-02-22 04:37:20 +00:00
Nicolas Thill 6b392a4f9f allow cvs/git/hg/svn wrap_mirror to work for host tools as well
SVN-Revision: 13313
2008-11-22 04:38:20 +00:00
Felix Fietkau e2f7a60283 fixes for refresh/update handling
SVN-Revision: 9063
2007-09-29 04:29:11 +00:00
Felix Fietkau d1933f9761 move a stampfile to make it easier to override the patch template
SVN-Revision: 9062
2007-09-29 03:39:57 +00:00
Felix Fietkau dbeb0fad24 Refactor downloading code into download.mk Support multiple file downloads Support svn downloads
SVN-Revision: 9057
2007-09-29 00:05:48 +00:00
Felix Fietkau e554dafa93 fix spontaneous rebuilds caused by make package/<name>/update with quilt
SVN-Revision: 8879
2007-09-20 16:17:50 +00:00
Felix Fietkau 5f748a6c24 clean up recursive dependency handling, use timestamp.pl again, because it saves memory and execution time
SVN-Revision: 8558
2007-08-30 21:12:39 +00:00
Felix Fietkau c6bc77ea36 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
SVN-Revision: 8362
2007-08-07 00:04:25 +00:00
Felix Fietkau 23f0017829 fix a rebuild bug related to quilt
SVN-Revision: 8255
2007-07-30 23:52:17 +00:00
Felix Fietkau 7b6d8470c6 same for host builds
SVN-Revision: 8246
2007-07-30 21:48:39 +00:00
Felix Fietkau d7f2cb1642 next round of cleanup, convert target/ - make -j works now ;)
SVN-Revision: 8242
2007-07-30 21:14:08 +00:00
Imre Kaloz 6fb68cb589 use newer config.guess and config.sub for packages then the shipped ones
SVN-Revision: 7532
2007-06-08 10:37:20 +00:00
Felix Fietkau 5e406f0a28 enable quilt for host builds and add some additional checks
SVN-Revision: 7473
2007-06-03 07:33:00 +00:00
Felix Fietkau 56cdcf23a3 fix recursive dependencies on build directories - should lead to fewer spontaneous rebuilds
SVN-Revision: 7151
2007-05-09 22:47:01 +00:00
Felix Fietkau d96d98a88d Small bugfix for dependency handling - mostly for base-files and symlinks
SVN-Revision: 7058
2007-04-26 18:04:16 +00:00
Felix Fietkau 29e42ab21d hide some junk in non-verbose mode
SVN-Revision: 6979
2007-04-16 23:51:22 +00:00
Felix Fietkau 449a4f4079 clean up dependency handling for autorebuilds
SVN-Revision: 6956
2007-04-15 18:28:24 +00:00
Felix Fietkau 5723a1798c fix stampfiles for host-builds
SVN-Revision: 6367
2007-02-25 21:01:21 +00:00
Felix Fietkau b04f09245d add auto-rebuild for host builds (tested with tools/ and toolchain/)
SVN-Revision: 6361
2007-02-25 18:28:25 +00:00
Felix Fietkau 794114c706 fix mistakes in unpack change
SVN-Revision: 5077
2006-10-14 13:04:50 +00:00
Felix Fietkau 0d9ddef0e8 move common unpacking code to unpack.mk, replace zcat with $(ZCAT) for systems that use gzcat instead
SVN-Revision: 5070
2006-10-14 00:40:27 +00:00
Felix Fietkau 60c1f0f64d finally move buildroot-ng to trunk 2016-03-20 17:29:15 +01:00