aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Makefile
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2011-05-02 22:48:03 +0200
committerMichal Marek <mmarek@suse.cz>2011-05-02 22:48:03 +0200
commitbffd2020a972a188750e5cf4b9566950dfdf25a2 (patch)
treeb53bfaf8bcf27a35bd1d0d61a04eaa70a1dfbc31 /scripts/Makefile
parentkbuild: Fix Makefile.asm-generic for um (diff)
downloadlinux-dev-bffd2020a972a188750e5cf4b9566950dfdf25a2.tar.xz
linux-dev-bffd2020a972a188750e5cf4b9566950dfdf25a2.zip
kbuild: move scripts/basic/docproc.c to scripts/docproc.c
Move docproc from scripts/basic to scripts so it is only built for *doc targets instead of every time the kernel is built.
Diffstat (limited to 'scripts/Makefile')
-rw-r--r--scripts/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index fcea26168bca..df7678febf27 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -6,6 +6,7 @@
# pnmttologo: Convert pnm files to logo files
# conmakehash: Create chartable
# conmakehash: Create arrays for initializing the kernel console tables
+# docproc: Used in Documentation/DocBook
hostprogs-$(CONFIG_KALLSYMS) += kallsyms
hostprogs-$(CONFIG_LOGO) += pnmtologo
@@ -16,12 +17,14 @@ hostprogs-$(BUILD_C_RECORDMCOUNT) += recordmcount
always := $(hostprogs-y) $(hostprogs-m)
# The following hostprogs-y programs are only build on demand
-hostprogs-y += unifdef
+hostprogs-y += unifdef docproc
-# This target is used internally to avoid "is up to date" messages
+# These targets are used internally to avoid "is up to date" messages
PHONY += build_unifdef
build_unifdef: scripts/unifdef FORCE
@:
+build_docproc: scripts/docproc FORCE
+ @:
subdir-$(CONFIG_MODVERSIONS) += genksyms
subdir-y += mod