Commit Graph

41 Commits (aa6eaba62356b2d4fe46400d326d68f05f205c4b)

Author SHA1 Message Date
Felix Fietkau fdd463c591 tools: fix stampfile dependency handling when the list of build dirs changes (#15186)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-08 17:15:45 +00:00
John Crispin d19337ecc6 [include] log failed package builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-04 18:29:29 +00:00
Felix Fietkau 5dccffc7a4 remove legacy package/foo-compile wrapper targets, people should be used to the correct target names by now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-28 16:27:21 +00:00
Felix Fietkau ffaa47c172 make the build system a bit more silent without V=99
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-04 00:54:37 +00:00
Felix Fietkau 591cf77143 build: reduce the amount of generated make code for the initial prereq scan - makes it about 20% faster
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 03:40:09 +00:00
Felix Fietkau b818c82243 build: use a conditional @ sign before silenced targets instead of .SILENT - makes prereq checks more than twice as fast
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 03:40:04 +00:00
Ralph Hempel e7c0aa70ad [include] add configure as package target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 20:20:13 +00:00
Felix Fietkau 32b6ebf57c fix build dependencies on packages with multiple variants but no selected virtual packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-20 20:17:28 +00:00
Felix Fietkau e3b691c96c add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-01 17:51:36 +00:00
Felix Fietkau 8075ad2ef5 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
Felix Fietkau 7c2dcfc1b3 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 Hempel 42554ac0fb [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 Hempel 92dfe3875a 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 Fainelli efc212c412 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
Felix Fietkau e3c1cb7316 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
Felix Fietkau e23e2f703c 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
Felix Fietkau f522e7f64f 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
Felix Fietkau 06452459df 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
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 87cd6ef1b4 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
Felix Fietkau 627b34f1f2 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
Felix Fietkau 7322a7236b 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
Felix Fietkau f4e7bdac42 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
Felix Fietkau 9f1c5d418a 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
Felix Fietkau b0a3b73cfe 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
Felix Fietkau 6bcd07afdd 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
Felix Fietkau 485f2e16f4 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
Felix Fietkau a3d6680bc3 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
Nicolas Thill 41da7aa7d9 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
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 58896959fd 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
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
Felix Fietkau afb0255875 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
Felix Fietkau 7f5129c7d9 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
Felix Fietkau 1f1b2ca360 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
Felix Fietkau bb3fe85135 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
Felix Fietkau 5a344daff1 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
Felix Fietkau bb84df1c5e 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
Felix Fietkau c295c38efc 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
Felix Fietkau c33e0be683 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
Felix Fietkau eed0892fb7 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