summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-01-20 14:08:08 +0900
committerMichal Marek <mmarek@suse.cz>2014-03-14 17:44:17 +0100
commitbfdfaeae500a3b194b73b01e92a8034791a58b7f (patch)
treefed2f9d9416b87facfbfc5346db6cb976f0ee685 /scripts
parent38dbfb59d1175ef458d006556061adeaa8751b72 (diff)
downloadlinux-bfdfaeae500a3b194b73b01e92a8034791a58b7f.tar.gz
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>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index 01e7adb838d9..1d07860f6c42 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -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