summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-06-22 23:18:57 +0200
committerDavid 'Digit' Turner <digit@android.com>2011-06-22 23:18:57 +0200
commit52d697d432e0684fb13884c94f7768c5ec8ef8ec (patch)
treee582333a67e43475110b871d7531eb97dd38795d /core
parent04b963a1c037a7e9e8b5fb46603e009965293d9d (diff)
downloadbuild-52d697d432e0684fb13884c94f7768c5ec8ef8ec.zip
build-52d697d432e0684fb13884c94f7768c5ec8ef8ec.tar.gz
build-52d697d432e0684fb13884c94f7768c5ec8ef8ec.tar.bz2
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
Diffstat (limited to 'core')
-rw-r--r--core/main.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/main.mk b/core/main.mk
index ab49415..74424ee 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 := \