aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index aef96259051f..73e825b39a08 100644
--- a/Makefile
+++ b/Makefile
@@ -10,8 +10,11 @@ NAME=Avast! A bilge rat!
10# Comments in this file are targeted only to the developer, do not 10# Comments in this file are targeted only to the developer, do not
11# expect to learn how to build the kernel reading this file. 11# expect to learn how to build the kernel reading this file.
12 12
13# Do not print "Entering directory ..." 13# Do not:
14MAKEFLAGS += --no-print-directory 14# o use make's built-in rules and variables
15# (this increases performance and avoid hard-to-debug behavour);
16# o print "Entering directory ...";
17MAKEFLAGS += -rR --no-print-directory
15 18
16# We are using a recursive build, so we need to do a little thinking 19# We are using a recursive build, so we need to do a little thinking
17# to get the ordering right. 20# to get the ordering right.
@@ -271,12 +274,8 @@ export quiet Q KBUILD_VERBOSE
271# Look for make include files relative to root of kernel src 274# Look for make include files relative to root of kernel src
272MAKEFLAGS += --include-dir=$(srctree) 275MAKEFLAGS += --include-dir=$(srctree)
273 276
274# We need some generic definitions 277# We need some generic definitions.
275include $(srctree)/scripts/Kbuild.include 278include $(srctree)/scripts/Kbuild.include
276
277# Do not use make's built-in rules and variables
278# This increases performance and avoid hard-to-debug behavour
279MAKEFLAGS += -rR
280 279
281# Make variables (CC, etc...) 280# Make variables (CC, etc...)
282 281
@@ -1484,6 +1483,8 @@ endif # skip-makefile
1484PHONY += FORCE 1483PHONY += FORCE
1485FORCE: 1484FORCE:
1486 1485
1486# Cancel implicit rules on top Makefile, `-rR' will apply to sub-makes.
1487Makefile: ;
1487 1488
1488# Declare the contents of the .PHONY variable as phony. We keep that 1489# Declare the contents of the .PHONY variable as phony. We keep that
1489# information in a variable se we can use it in if_changed and friends. 1490# information in a variable se we can use it in if_changed and friends.