Skip to content

Commit

Permalink
Output a message for each module file linked into the kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
osresearch committed Jan 16, 2009
1 parent ebf2b1f commit 9c7b223
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 4 additions & 2 deletions modules/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ lib-y := $(notdir $(lib_files))
# Override the rules to build the modules that are linked in
# to avoid trying to build them. The message should never
# be printed.
$(object_files) $(lib_files):
@echo >&2 " NOTICE $@"
$(object_files) $(lib_files): FORCE
@echo >&2 " MOD $@"

FORCE:
3 changes: 0 additions & 3 deletions scripts/Makefile.modpost
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ quiet_cmd_modpost = MODPOST

PHONY += __modpost
__modpost: $(wildcard vmlinux) $(modules:.ko=.o) FORCE
@echo "-------"; \
echo "You must copy built-in.o into kitten/modules/mod-name.o"; \
echo "-------";
@#$(call cmd,modpost)

# Declare generated files as targets for modpost
Expand Down

0 comments on commit 9c7b223

Please sign in to comment.