summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2006-06-10 11:15:27 +0400
committerSam Ravnborg <sam@mars.ravnborg.org>2006-06-10 11:15:27 +0400
commit566f81ca598f80de03e80a9a743e94b65b4e017e (patch)
treed10821892ddef2329b025f196d23b930d8cde035 /Makefile
parentff5417107b7615fcef772cabcb717f4a715ffadc (diff)
downloadlinux-566f81ca598f80de03e80a9a743e94b65b4e017e.tar.xz
kbuild: ignore make's built-in rules & variables
kbuild does explicitly specify what to do in all cases, and each time make's built-in rules & variables has been used it has been a bug. So to speed up things and to avoid the hard-to-debug error situations ignore the built-in definitions. If any part of the kernel uses the built-in definitions the build will just stop there and it should be trivial to fix. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 818d1950e22d..1b2fd97f503a 100644
--- a/Makefile
+++ b/Makefile
@@ -267,10 +267,9 @@ MAKEFLAGS += --include-dir=$(srctree)
# We need some generic definitions
include $(srctree)/scripts/Kbuild.include
-# For maximum performance (+ possibly random breakage, uncomment
-# the following)
-
-#MAKEFLAGS += -rR
+# Do not use make's built-in rules and variables
+# This increases performance and avoid hard-to-debug behaviour
+MAKEFLAGS += -rR
# Make variables (CC, etc...)