1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-18 05:36:16 +02:00
Commit Graph

64 Commits

Author SHA1 Message Date
nbd
07540fb955 build: fix host build stampfile usage, fixes spurious errors with missing opkg host binary after deleting the staging dir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-15 13:19:41 +00:00
nbd
6a31a701e2 build: add the + token to any commands that can pass through the jobserver, fixes parallel build on some systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-23 09:50:01 +00:00
nbd
3f0adfd3fc host-build: add HOST_MAKE_FLAGS similar to package MAKE_FLAGS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 20:10:28 +00:00
nbd
55c1daea2c build: ensure that package/host-build build system code does not run in parallel, fixes rare spurious parallel build failures
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 11:17:26 +00:00
nbd
aeb80f6ab0 build: add jobserver support for host builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 12:34:48 +00:00
jow
f78b4e1054 [buildroot] do not pass optimization flags in HOST_CPPFLAGS (#12153)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 21:35:42 +00:00
jow
da93f7edd2 [buildroot] introduce a menuconfig option to turn off static linking of host utilities
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 00:26:34 +00:00
jow
e65348e877 [include] host-build.mk: define a variable HOST_STATIC_LINKING which is set to "-static" on non-Darwin systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 12:34:25 +00:00
nbd
2ef3c1bef4 build: add PKG_MIRROR_MD5SUM support for host builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 14:08:47 +00:00
blogic
9943867fae tools: clean up Makefiles / make ccache work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-15 11:43:13 +00:00
nbd
40432d393f add a missing wrapper for the refresh target for host builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 12:13:58 +00:00
jow
0630427205 [include]
- implement hooks for hostbuilds
	- use host build hooks to implement fixups for host build
	- move separator declaration to rules.mk


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-13 19:04:33 +00:00
nbd
cc6edc5c7a use PREFIX/bin instead of PREFIX/sbin for all host builds (fixes e2fsprogs path)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 18:49:18 +00:00
mb
22441e9171 deptest: Install of host tools has to be forced for every test, because the host staging dir is cleaned prior a test.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 14:58:32 +00:00
mb
455b1caafb Fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-16 18:46:22 +00:00
mb
6c7ebb0443 Support force-disabling per-package parallel build with {PKG,HOST}_BUILD_PARALLEL:=0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-16 18:42:58 +00:00
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