diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-06-09 15:38:45 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-06-09 15:38:45 +0000 |
commit | 4c665e6ca4ce7044fbaf4e6a772b021c012f760c (patch) | |
tree | 2c5c0574cfda7d10c196399fd2791f5b57004f7b /target | |
parent | 21e09858f13eb471582ca09f1ce306a004203fb2 (diff) | |
download | upstream-4c665e6ca4ce7044fbaf4e6a772b021c012f760c.tar.gz upstream-4c665e6ca4ce7044fbaf4e6a772b021c012f760c.tar.bz2 upstream-4c665e6ca4ce7044fbaf4e6a772b021c012f760c.zip |
large improvement for parallel builds. works without V=99 now and without warnings. tested with -j on an 2x dual core opteron machine
SVN-Revision: 11414
Diffstat (limited to 'target')
-rw-r--r-- | target/Makefile | 1 | ||||
-rw-r--r-- | target/linux/Makefile | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/target/Makefile b/target/Makefile index 3d36d26718..4c746e2f00 100644 --- a/target/Makefile +++ b/target/Makefile @@ -6,6 +6,7 @@ # curdir:=target +$(curdir)/builddirs-parallel:=linux $(curdir)/builddirs:=linux sdk imagebuilder $(curdir)/builddirs-default:=linux $(curdir)/builddirs-install:=linux $(if $(CONFIG_SDK),sdk) $(if $(CONFIG_IB),imagebuilder) diff --git a/target/linux/Makefile b/target/linux/Makefile index 8288250111..1bdd5ae149 100644 --- a/target/linux/Makefile +++ b/target/linux/Makefile @@ -7,6 +7,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/target.mk -prereq clean download prepare compile install menuconfig oldconfig update refresh: FORCE - TARGET_BUILD=1 $(MAKE) -C $(BOARD) $@ +export TARGET_BUILD=1 +prereq clean download prepare compile install menuconfig oldconfig update refresh: FORCE + @$(NO_TRACE_MAKE) -C $(BOARD) $@ |