diff mbox

kbuild: silence Nothing to be done for 'all' message

Message ID alpine.LNX.2.00.1106082047040.61251@linux.foleyremote.com (mailing list archive)
State New, archived
Headers show

Commit Message

Peter Foley June 9, 2011, 12:58 a.m. UTC
This patch silences a Makefile.asm-generic message
by defining a dummy rule for all. 

make -f /usr/src/git/scripts/Makefile.asm-generic \
            obj=arch/x86/include/generated/asm
make[1]: Nothing to be done for `all'.


Signed-off-by: Peter Foley <pefoley2@verizon.net>
---
 scripts/Makefile.asm-generic |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Michal Marek June 9, 2011, 9:49 a.m. UTC | #1
On Wed, Jun 08, 2011 at 08:58:32PM -0400, Peter Foley wrote:
> 
> This patch silences a Makefile.asm-generic message
> by defining a dummy rule for all. 
> 
> make -f /usr/src/git/scripts/Makefile.asm-generic \
>             obj=arch/x86/include/generated/asm
> make[1]: Nothing to be done for `all'.
> 
> 
> Signed-off-by: Peter Foley <pefoley2@verizon.net>
> ---
>  scripts/Makefile.asm-generic |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)

Applied to kbuild-2.6.git#rc-fixes, thanks.

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/scripts/Makefile.asm-generic b/scripts/Makefile.asm-generic
index 490122c..40caf3c 100644
--- a/scripts/Makefile.asm-generic
+++ b/scripts/Makefile.asm-generic
@@ -17,6 +17,7 @@  quiet_cmd_wrap = WRAP    $@
 cmd_wrap = echo "\#include <asm-generic/$*.h>" >$@
 
 all: $(patsubst %, $(obj)/%, $(generic-y))
+	@:
 
 $(obj)/%.h:
 	$(call cmd,wrap)