[coreboot] New patch to review for coreboot: 0739b12 build system: Don't run the full build system on "make clean"

Patrick Georgi (patrick@georgi-clan.de) gerrit at coreboot.org
Sat Feb 9 15:47:17 CET 2013


Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2338

-gerrit

commit 0739b12ca1619dbd4c193d2e2878c6cc64295cef
Author: Patrick Georgi <patrick at georgi-clan.de>
Date:   Sat Feb 9 15:45:02 2013 +0100

    build system: Don't run the full build system on "make clean"
    
    When running "make clean" the build system used to parse the entire
    build system. Besides costing time, it prevents cleaning the tree
    if a blobs-board is selected but blobs are not enabled.
    
    Change-Id: Ief6362460d4eb7edcb4b0a47ec76cb9a61bf3b86
    Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 527fbcc..eb22b18 100644
--- a/Makefile
+++ b/Makefile
@@ -97,10 +97,10 @@ ifeq ($(strip $(HAVE_DOTCONFIG)),)
 NOCOMPILE:=1
 endif
 ifneq ($(MAKECMDGOALS),)
-ifneq ($(filter %config distclean,$(MAKECMDGOALS)),)
+ifneq ($(filter %config %clean,$(MAKECMDGOALS)),)
 NOCOMPILE:=1
 endif
-ifeq ($(MAKECMDGOALS), distclean)
+ifeq ($(MAKECMDGOALS), %clean)
 NOMKDIR:=1
 endif
 endif



More information about the coreboot mailing list