提交 bfdfaeae 编写于 作者: M Masahiro Yamada 提交者: Michal Marek

kbuild: specify build_docproc as a phony target

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: NMasahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: NMichal Marek <mmarek@suse.cz>
上级 38dbfb59
...@@ -27,10 +27,10 @@ always := $(hostprogs-y) $(hostprogs-m) ...@@ -27,10 +27,10 @@ always := $(hostprogs-y) $(hostprogs-m)
hostprogs-y += unifdef docproc hostprogs-y += unifdef docproc
# These targets are used internally to avoid "is up to date" messages # These targets are used internally to avoid "is up to date" messages
PHONY += build_unifdef PHONY += build_unifdef build_docproc
build_unifdef: scripts/unifdef FORCE build_unifdef: $(obj)/unifdef
@: @:
build_docproc: scripts/docproc FORCE build_docproc: $(obj)/docproc
@: @:
subdir-$(CONFIG_MODVERSIONS) += genksyms subdir-$(CONFIG_MODVERSIONS) += genksyms
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册