git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kbuild: fix mkmakefile
[safe/jmp/linux-2.6]
/
scripts
/
mkmakefile
diff --git
a/scripts/mkmakefile
b/scripts/mkmakefile
index
c4d621b
..
a22cbed
100644
(file)
--- a/
scripts/mkmakefile
+++ b/
scripts/mkmakefile
@@
-21,11
+21,13
@@
KERNELOUTPUT := $2
MAKEFLAGS += --no-print-directory
MAKEFLAGS += --no-print-directory
+.PHONY: all \$(MAKECMDGOALS)
+
all:
\$(MAKE) -C \$(KERNELSRC) O=\$(KERNELOUTPUT)
all:
\$(MAKE) -C \$(KERNELSRC) O=\$(KERNELOUTPUT)
-%::
- \$(MAKE) -C \$(KERNELSRC) O=\$(KERNELOUTPUT) \$@
+Makefile:;
+\$(filter-out all Makefile,\$(MAKECMDGOALS)) %/:
+ \$(MAKE) -C \$(KERNELSRC) O=\$(KERNELOUTPUT) \$@
EOF
EOF
-