mkmakefile: make 3.82 fix
authorThomas Chou <thomas@wytron.com.tw>
Tue, 19 Oct 2010 07:17:12 +0000 (15:17 +0800)
committerDenys Vlasenko <dvlasenk@redhat.com>
Tue, 19 Oct 2010 10:49:51 +0000 (12:49 +0200)
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
scripts/mkmakefile

index 7f9d544..9fc51a7 100755 (executable)
@@ -31,6 +31,9 @@ all:
 
 Makefile:;
 
-\$(filter-out all Makefile,\$(MAKECMDGOALS)) %/:
+\$(filter-out all Makefile,\$(MAKECMDGOALS)):
+       \$(MAKE) -C \$(KERNELSRC) O=\$(KERNELOUTPUT) \$@
+
+%/:
        \$(MAKE) -C \$(KERNELSRC) O=\$(KERNELOUTPUT) \$@
 EOF