Skip to content

Commit

Permalink
kbuild: specify build_docproc as a phony target
Browse files Browse the repository at this point in the history
PHONY target is more suitable for "build_docproc" target.

Because PHONY targets are always executed, they do not
have to take FORCE as a prerequisite.

Signed-off-by: Masahiro Yamada <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
  • Loading branch information
masahir0y authored and michal42 committed Mar 14, 2014
1 parent 38dbfb5 commit bfdfaea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ always := $(hostprogs-y) $(hostprogs-m)
hostprogs-y += unifdef docproc

# These targets are used internally to avoid "is up to date" messages
PHONY += build_unifdef
build_unifdef: scripts/unifdef FORCE
PHONY += build_unifdef build_docproc
build_unifdef: $(obj)/unifdef
@:
build_docproc: scripts/docproc FORCE
build_docproc: $(obj)/docproc
@:

subdir-$(CONFIG_MODVERSIONS) += genksyms
Expand Down

0 comments on commit bfdfaea

Please sign in to comment.