From 9e1131b70b4b6002cd1904401946ef0b22cf7d33 Mon Sep 17 00:00:00 2001 From: Liming Gao Date: Tue, 28 Nov 2017 11:18:51 +0800 Subject: BaseTools: Update BaseTools top GNUMakefile with the clear dependency https://bugzilla.tianocore.org/show_bug.cgi?id=786 After GNUmakefile dependency is fixed up, it can make with -j N to enable multiple thread build in base tools C source and save build time. In my linux host machine, make -j 4 to compile BaseTools and save ~60% time. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao Reviewed-by: Yonghong Zhu --- BaseTools/GNUmakefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'BaseTools/GNUmakefile') diff --git a/BaseTools/GNUmakefile b/BaseTools/GNUmakefile index 790d33a2f3..6325e409c7 100644 --- a/BaseTools/GNUmakefile +++ b/BaseTools/GNUmakefile @@ -1,7 +1,7 @@ ## @file # GNU/Linux makefile for Base Tools project build. # -# Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
+# Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.
# This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License # which accompanies this distribution. The full text of the license may be found at @@ -24,12 +24,10 @@ subdirs: $(SUBDIRS) $(SUBDIRS): $(MAKE) -C $@ +Tests: $(SOURCE_SUBDIRS) + .PHONY: $(CLEAN_SUBDIRS) $(CLEAN_SUBDIRS): -$(MAKE) -C $(@:-clean=) clean clean: $(CLEAN_SUBDIRS) - -test: - @$(MAKE) -C Tests - -- cgit v1.2.3