Permalink
Browse files

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

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>
Signed-off-by: Michal Marek <mmarek@suse.cz>
  • Loading branch information...
1 parent 55922c9 commit 181e976327cf33095837c579608ebed42d2ad992 @pefoley2 pefoley2 committed with michal42 Jun 9, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 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)

0 comments on commit 181e976

Please sign in to comment.