mb
9d3a35f2c7
Add an option to default the default build rule to parallel build.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-20 14:48:59 +00:00
mb
a1a475c90d
Also support parallel build for host-packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-18 14:23:06 +00:00
thepeople
2b2bbce391
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
e6c9aacc59
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
agb
06c8c0c238
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
nbd
6a3512627c
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
nbd
75891cb99c
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
nico
7af6a41b95
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
nbd
aa1fa7f74a
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
nbd
2c740480ef
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
nbd
0b6f907a91
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
nbd
bded6e9b33
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
nbd
930e65e6e2
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
nbd
c9882fd995
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
nbd
e83c4ff721
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
nbd
4fec70617a
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
nbd
3f60e53537
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
agb
2c09b39487
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
nbd
e9bc27949d
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
nbd
3d7b088997
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
nbd
ca3f76d2a5
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
nbd
800e84cc0f
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
nico
6929cca61b
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
nbd
5f3aa54122
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
nbd
8ba85e3dc1
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
nbd
900c05f6e1
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
nbd
8f3f1755d9
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
nbd
40aa2d8b06
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
nbd
12c49b6a6a
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
nbd
37cc74a265
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
nbd
def0e12160
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
nbd
196ad55bd2
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
kaloz
e87fb5ee5a
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
nbd
5829937937
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
nbd
5c30e74105
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
nbd
561a7c4c00
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
nbd
75fe4b622b
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
nbd
9beaac95cf
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
nbd
38e043ef5b
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
nbd
6a73afb785
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
nbd
1cbc384d56
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
nbd
f6777ece94
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
nbd
f21778d9c2
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
nbd
b8885f1f93
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
nbd
652d907345
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
mbm
65aeed311c
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
mbm
02cdebbb91
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
nbd
94266d6389
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