1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 23:39:41 +02:00
Commit Graph

32 Commits

Author SHA1 Message Date
nbd
bc624321e8 build system: introduce a new feature called build variants.
it allows building a package multiple times in one pass with different build dirs,
based on the same build settings.
replaces templating hacks like the one used in the hostapd package

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-10 22:00:54 +00:00
nbd
d975a4247b move the toolchain_install stampfile to the right place to fix spurious missing toolchain errors after cleaning stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-11 12:48:59 +00:00
ralph
5880d2ea18 [package] add dist and distcheck target (to create new source balls)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-31 12:01:05 +00:00
ralph
51def42732 added BUILD_LOG_DIR variable, make clean will delete the ./logs dir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-28 16:30:04 +00:00
florian
f29bf60fb1 stop build when an error occurs and when BUILDLOG is set (#5160)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-26 14:18:05 +00:00
nbd
c871067185 add missing $(if) check for build logging
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15366 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-24 01:20:23 +00:00
nbd
b5d6e8c95a add BUILD_LOG option to let the build system log all subdir make command output to individual files (useful for debugging parallel builds)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-24 01:04:50 +00:00
nbd
444b7593a6 add support for config options checking in top-level directory stampfiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-06 09:56:16 +00:00
nbd
5295e692f6 add makefile target alias package/<name>/host/<target> for host builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-18 21:53:35 +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
b2f91a7a4a some more build system cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-17 11:14:13 +00:00
nbd
3e8bff3590 rework parallel building to get rid of some warnings
and add back support for parallelizing the kernel build
fixes #3882


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-16 16:59:47 +00:00
nbd
7df29daa8f fix make variable overriding for package makefiles on the command line
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-06 11:33:26 +00:00
nbd
83b31e078f large improvement for parallel builds. works without V=99 now and without warnings. tested with -j on an 2x dual core opteron machine
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-09 15:38:45 +00:00
nbd
cc3cf69f41 add a flag "IGNORE_ERRORS", which can be used to ignore build errors in packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-07 16:45:00 +00:00
nbd
6909e3464f make aliases for package targets if the package directories are in further subdirectories
example: if there is a package/libs/foo/compile, then package/foo/compile will be an alias for it


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-21 07:18:10 +00:00
nbd
6db7ad74f6 major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 19:55:42 +00:00
nbd
5b1e271684 fix a dependency bug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-30 22:43:25 +00:00
nbd
e9b5e692d5 avoid rdep in the top level make process (subdir.mk) - it leaks too much memory and increases the startup time for regular make commands. timestamp.pl is more lightweight here
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-29 03:51:49 +00:00
nico
b7b479ae3f rename 'stampfiles' directory to 'stamp'
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-21 18:07:55 +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
2821cd1322 ignore dependencies when using QUILT
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 21:30:18 +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
nbd
6814b92ca9 more cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 18:39:20 +00:00
nbd
af927159a9 next round of build system cleanup - convert package/ to new structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 18:22:01 +00:00
nbd
506d2a0161 fix compile errors with make 3.80
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 15:00:27 +00:00
nbd
dc0f6ad85a add default command for dummy targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-28 14:36:21 +00:00
nbd
389529fe35 more build system cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-28 13:00:43 +00:00
nbd
ddade98e10 allow target specific builddir list override
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-28 03:01:10 +00:00
nbd
25769190c8 add missing flag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-28 02:54:50 +00:00
nbd
69ac130ada don't force the install->compile, compile->prepare dependencies in subdir.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-28 02:53:54 +00:00
nbd
7a209707c3 initial attempt at cleaning up subdirectory handling. tools/Makefile is now being included instead of recursively called
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-28 02:44:55 +00:00