Commit Graph

46 Commits (46b64d6ae8e6f3c4f867048f24fb72ece2cc95ba)

Author SHA1 Message Date
Travis Kemen 47a3a62caa 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 20:15:12 +00:00
Lars-Peter Clausen af919ae232 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-03 18:00:28 +00:00
Andy Boyett dc71e811a9 use $(HOST_CFLAGS) when not cross-compiling. Thanks Daniel Gimpelevich
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-30 22:52:27 +00:00
Felix Fietkau db2504f9a5 host build: do not hide the configure command
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-25 09:28:14 +00:00
Felix Fietkau 08e1921c85 fix a typo that prevented host build specific variable exports from working
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-30 14:15:45 +00:00
Nicolas Thill 414ea4bc49 add missing bits from [15451]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27 16:02:21 +00:00
Felix Fietkau 3195be7429 clean up automake/pkg-config handling, move separate host/package variable exports to templates, fix automake path for host builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-22 22:05:55 +00:00
Felix Fietkau 6937a43f9b move pkg config stuff to per-target exports to prevent interference with host builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-20 18:56:57 +00:00
Felix Fietkau 9dd8b81845 add a default template for Host/Install
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-06 09:56:06 +00:00
Felix Fietkau c36c0d4621 fix calling the update target for host-only builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-23 18:33:24 +00:00
Felix Fietkau 0a5976b604 fix quilt variable and stampfile usage for host builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 03:21:52 +00:00
Felix Fietkau fb5f864919 add PKG_HOST_ONLY variable to prevent target builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 02:37:04 +00:00
Felix Fietkau 353386a643 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 02:20:34 +00:00
Felix Fietkau 010eaaa4c2 make the compile: host-install dependency independent of the order in which the makefiles were included
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-12 14:07:08 +00:00
Felix Fietkau eafe10bcdb enable Host/Install on compile: if package.mk is included
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-12 14:00:26 +00:00
Andy Boyett edd0fdaa0c readd $(HOST_CONFIGURE_VARS) to Host/Configure/Default, missed in r14699
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-02 03:03:21 +00:00
Felix Fietkau b8429a4dd1 adjust host-build.mk to bring it closer to package.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-28 21:03:17 +00:00
Felix Fietkau 506037412e allow concurrent use of host-build.mk and package.mk as well as their templates
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 18:10:05 +00:00
Felix Fietkau 1ca982f27c eliminate redundancy by creating the quilt_used stampfile in the right place
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 17:50:31 +00:00
Felix Fietkau b892e1fb85 build system refactoring in preparation for allowing packages to do host-build steps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 04:37:20 +00:00
Nicolas Thill a2dec2b005 allow cvs/git/hg/svn wrap_mirror to work for host tools as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-22 04:38:20 +00:00
Felix Fietkau 8a6e77c006 fixes for refresh/update handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 04:29:11 +00:00
Felix Fietkau 19e38ca2d4 move a stampfile to make it easier to override the patch template
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 03:39:57 +00:00
Felix Fietkau 8d169cc962 Refactor downloading code into download.mk
Support multiple file downloads
Support svn downloads


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 00:05:48 +00:00
Felix Fietkau 8e682d617b fix spontaneous rebuilds caused by make package/<name>/update with quilt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-20 16:17:50 +00:00
Felix Fietkau a96b79a6d4 clean up recursive dependency handling, use timestamp.pl again, because it saves memory and execution time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-30 21:12:39 +00:00
Felix Fietkau d10a56dc58 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07 00:04:25 +00:00
Felix Fietkau 2033a6135a fix a rebuild bug related to quilt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 23:52:17 +00:00
Felix Fietkau ce02916d5f same for host builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 21:48:39 +00:00
Felix Fietkau 03ffe176e5 next round of cleanup, convert target/ - make -j works now ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 21:14:08 +00:00
Imre Kaloz d442289f60 use newer config.guess and config.sub for packages then the shipped ones
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-08 10:37:20 +00:00
Felix Fietkau 84c301cf9a enable quilt for host builds and add some additional checks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-03 07:33:00 +00:00
Felix Fietkau a8f4a1bdbb fix recursive dependencies on build directories - should lead to fewer spontaneous rebuilds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7151 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-09 22:47:01 +00:00
Felix Fietkau 2dcaf582db Small bugfix for dependency handling - mostly for base-files and symlinks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-26 18:04:16 +00:00
Felix Fietkau 7c1d6bdc6a hide some junk in non-verbose mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-16 23:51:22 +00:00
Felix Fietkau 18ff6224cb clean up dependency handling for autorebuilds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-15 18:28:24 +00:00
Felix Fietkau e21829f1ec fix stampfiles for host-builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 21:01:21 +00:00
Felix Fietkau 8a3423f044 add auto-rebuild for host builds (tested with tools/ and toolchain/)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 18:28:25 +00:00
Felix Fietkau 31512673e9 fix mistakes in unpack change
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-14 13:04:50 +00:00
Felix Fietkau 75d681665a move common unpacking code to unpack.mk, replace zcat with $(ZCAT) for systems that use gzcat instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-14 00:40:27 +00:00
Felix Fietkau 1da2c3fe51 move the common variables from host-build.mk to host.mk
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 16:58:47 +00:00
Felix Fietkau 58e3b95a2c move certain host related variables to .host.mk generated by include/host-build.mk to speed up the build system
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 13:25:18 +00:00
Felix Fietkau 3f01d0898e add portability fixes for toolchain/tools (full tools/toolchain build works on osx now)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-27 17:03:36 +00:00
Mike Baker 17dad6fbd2 fix a few directories missed in [4176]'s source -> download
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-21 17:00:14 +00:00
Mike Baker f9e5c1b1d5 credit where credit is due
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-27 00:35:46 +00:00
Felix Fietkau 13078b79e5 massive cleanup of toolchain/
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 06:19:43 +00:00