mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-17 05:45:20 +00:00
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: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
This commit is contained in:
parent
38dbfb59d1
commit
bfdfaeae50
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user