X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=scripts%2Fmkmakefile;h=ee39facee15238f8f4148fc2b7e914f07a31b613;hb=d31c7b8fa303eb81311f27b80595b8d2cbeef950;hp=7f9d544f9b6c07339021bdb80762feeb7b95f9bf;hpb=d649dafd0713f2f3dfe29baa783868db33aa2c11;p=linux-2.6-omap-h63xx.git diff --git a/scripts/mkmakefile b/scripts/mkmakefile index 7f9d544f9b6..ee39facee15 100644 --- a/scripts/mkmakefile +++ b/scripts/mkmakefile @@ -26,11 +26,13 @@ MAKEFLAGS += --no-print-directory .PHONY: all \$(MAKECMDGOALS) +all := \$(filter-out all Makefile,\$(MAKECMDGOALS)) + all: - \$(MAKE) -C \$(KERNELSRC) O=\$(KERNELOUTPUT) + \$(MAKE) -C \$(KERNELSRC) O=\$(KERNELOUTPUT) \$(all) Makefile:; -\$(filter-out all Makefile,\$(MAKECMDGOALS)) %/: - \$(MAKE) -C \$(KERNELSRC) O=\$(KERNELOUTPUT) \$@ +\$(all) %/: all + @: EOF