Skip to content

Commit

Permalink
kbuild: silence Nothing to be done for 'all' message
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
  • Loading branch information
pefoley2 authored and michal42 committed Jun 9, 2011
1 parent 55922c9 commit 181e976
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/Makefile.asm-generic
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 181e976

Please sign in to comment.