Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | ### |
| 2 | # scripts contains sources for various helper programs used throughout |
| 3 | # the kernel for the build process. |
| 4 | # --------------------------------------------------------------------------- |
| 5 | # kallsyms: Find all symbols in vmlinux |
| 6 | # pnmttologo: Convert pnm files to logo files |
David Woodhouse | 556b0f5 | 2009-01-10 14:53:15 +0000 | [diff] [blame] | 7 | # conmakehash: Create chartable |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | # conmakehash: Create arrays for initializing the kernel console tables |
Peter Foley | bffd202 | 2011-05-02 22:48:03 +0200 | [diff] [blame^] | 9 | # docproc: Used in Documentation/DocBook |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | |
| 11 | hostprogs-$(CONFIG_KALLSYMS) += kallsyms |
| 12 | hostprogs-$(CONFIG_LOGO) += pnmtologo |
| 13 | hostprogs-$(CONFIG_VT) += conmakehash |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | hostprogs-$(CONFIG_IKCONFIG) += bin2c |
Steven Rostedt | 72441cb | 2010-10-13 17:12:30 -0400 | [diff] [blame] | 15 | hostprogs-$(BUILD_C_RECORDMCOUNT) += recordmcount |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | |
Ross Biro | f2443ab | 2006-09-30 23:27:25 -0700 | [diff] [blame] | 17 | always := $(hostprogs-y) $(hostprogs-m) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | |
Sam Ravnborg | 07aea3a | 2006-07-23 20:47:50 +0200 | [diff] [blame] | 19 | # The following hostprogs-y programs are only build on demand |
Peter Foley | bffd202 | 2011-05-02 22:48:03 +0200 | [diff] [blame^] | 20 | hostprogs-y += unifdef docproc |
Sam Ravnborg | 07aea3a | 2006-07-23 20:47:50 +0200 | [diff] [blame] | 21 | |
Peter Foley | bffd202 | 2011-05-02 22:48:03 +0200 | [diff] [blame^] | 22 | # These targets are used internally to avoid "is up to date" messages |
Mike Waychison | e1b702c | 2011-03-14 23:34:25 -0700 | [diff] [blame] | 23 | PHONY += build_unifdef |
| 24 | build_unifdef: scripts/unifdef FORCE |
| 25 | @: |
Peter Foley | bffd202 | 2011-05-02 22:48:03 +0200 | [diff] [blame^] | 26 | build_docproc: scripts/docproc FORCE |
| 27 | @: |
Mike Waychison | e1b702c | 2011-03-14 23:34:25 -0700 | [diff] [blame] | 28 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | subdir-$(CONFIG_MODVERSIONS) += genksyms |
Sam Ravnborg | 12715d2 | 2006-08-08 20:43:39 +0200 | [diff] [blame] | 30 | subdir-y += mod |
Serge E. Hallyn | 93c06cb | 2008-08-26 14:47:57 -0500 | [diff] [blame] | 31 | subdir-$(CONFIG_SECURITY_SELINUX) += selinux |
David Gibson | 9fffb55 | 2009-04-30 15:25:53 +1000 | [diff] [blame] | 32 | subdir-$(CONFIG_DTC) += dtc |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 33 | |
| 34 | # Let clean descend into subdirs |
Serge E. Hallyn | 93c06cb | 2008-08-26 14:47:57 -0500 | [diff] [blame] | 35 | subdir- += basic kconfig package selinux |