From 52d697d432e0684fb13884c94f7768c5ec8ef8ec Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Wed, 22 Jun 2011 23:18:57 +0200 Subject: [PATCH] Turn-off implicit GNU Make RC/SCCS rules This small patch prevents GNU Make from stating RCS and SCCS specific files on the filesystem. This makes the output of "make -d" slightly more readable, and also reduces the no-change time on AOSP master by a bit less than a second on average. Change-Id: Ifa50ace32e8689717956d7247b0d6f53ef72b7a1 --- core/main.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/core/main.mk b/core/main.mk index ab4941554..74424eed0 100644 --- a/core/main.mk +++ b/core/main.mk @@ -12,6 +12,13 @@ endif # this turns off the suffix rules built into make .SUFFIXES: +# this turns off the RCS / SCCS implicit rules of GNU Make +% : RCS/%,v +% : RCS/% +% : %,v +% : s.% +% : SCCS/s.% + # If a rule fails, delete $@. .DELETE_ON_ERROR: @@ -434,7 +441,7 @@ endif else # !SDK_ONLY ifeq ($(BUILD_TINY_ANDROID), true) -# TINY_ANDROID is a super-minimal build configuration, handy for board +# TINY_ANDROID is a super-minimal build configuration, handy for board # bringup and very low level debugging subdirs := \ -- 2.11.0