From 4c665e6ca4ce7044fbaf4e6a772b021c012f760c Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 9 Jun 2008 15:38:45 +0000 Subject: 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 --- target/Makefile | 1 + target/linux/Makefile | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'target') 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) $@ -- cgit v1.2.3