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 | # --------------------------------------------------------------------------- |
Sam Ravnborg | 8b249b6 | 2009-01-07 20:52:43 +0100 | [diff] [blame] | 5 | # ihex2fw: Parser/loader for IHEX formatted data |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | # kallsyms: Find all symbols in vmlinux |
| 7 | # pnmttologo: Convert pnm files to logo files |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | # conmakehash: Create arrays for initializing the kernel console tables |
| 9 | |
Sam Ravnborg | 8b249b6 | 2009-01-07 20:52:43 +0100 | [diff] [blame] | 10 | hostprogs-y := ihex2fw |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | hostprogs-$(CONFIG_KALLSYMS) += kallsyms |
| 12 | hostprogs-$(CONFIG_LOGO) += pnmtologo |
| 13 | hostprogs-$(CONFIG_VT) += conmakehash |
| 14 | hostprogs-$(CONFIG_PROM_CONSOLE) += conmakehash |
| 15 | hostprogs-$(CONFIG_IKCONFIG) += bin2c |
| 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 |
| 20 | hostprogs-y += unifdef |
| 21 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | subdir-$(CONFIG_MODVERSIONS) += genksyms |
Sam Ravnborg | 12715d2 | 2006-08-08 20:43:39 +0200 | [diff] [blame] | 23 | subdir-y += mod |
Serge E. Hallyn | 93c06cb | 2008-08-26 14:47:57 -0500 | [diff] [blame] | 24 | subdir-$(CONFIG_SECURITY_SELINUX) += selinux |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | |
| 26 | # Let clean descend into subdirs |
Serge E. Hallyn | 93c06cb | 2008-08-26 14:47:57 -0500 | [diff] [blame] | 27 | subdir- += basic kconfig package selinux |