diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-06-10 03:15:27 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-06-10 03:15:27 -0400 |
commit | 566f81ca598f80de03e80a9a743e94b65b4e017e (patch) | |
tree | d10821892ddef2329b025f196d23b930d8cde035 | |
parent | ff5417107b7615fcef772cabcb717f4a715ffadc (diff) |
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>
-rw-r--r-- | Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -267,10 +267,9 @@ MAKEFLAGS += --include-dir=$(srctree) | |||
267 | # We need some generic definitions | 267 | # We need some generic definitions |
268 | include $(srctree)/scripts/Kbuild.include | 268 | include $(srctree)/scripts/Kbuild.include |
269 | 269 | ||
270 | # For maximum performance (+ possibly random breakage, uncomment | 270 | # Do not use make's built-in rules and variables |
271 | # the following) | 271 | # This increases performance and avoid hard-to-debug behaviour |
272 | 272 | MAKEFLAGS += -rR | |
273 | #MAKEFLAGS += -rR | ||
274 | 273 | ||
275 | # Make variables (CC, etc...) | 274 | # Make variables (CC, etc...) |
276 | 275 | ||