blob: 035182e16afb732d40b05c5a55df4ac79e6d2a96 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001###
2# scripts contains sources for various helper programs used throughout
3# the kernel for the build process.
4# ---------------------------------------------------------------------------
Sam Ravnborg8b249b62009-01-07 20:52:43 +01005# ihex2fw: Parser/loader for IHEX formatted data
Linus Torvalds1da177e2005-04-16 15:20:36 -07006# kallsyms: Find all symbols in vmlinux
7# pnmttologo: Convert pnm files to logo files
Linus Torvalds1da177e2005-04-16 15:20:36 -07008# conmakehash: Create arrays for initializing the kernel console tables
9
Sam Ravnborg8b249b62009-01-07 20:52:43 +010010hostprogs-y := ihex2fw
Linus Torvalds1da177e2005-04-16 15:20:36 -070011hostprogs-$(CONFIG_KALLSYMS) += kallsyms
12hostprogs-$(CONFIG_LOGO) += pnmtologo
13hostprogs-$(CONFIG_VT) += conmakehash
14hostprogs-$(CONFIG_PROM_CONSOLE) += conmakehash
15hostprogs-$(CONFIG_IKCONFIG) += bin2c
16
Ross Birof2443ab2006-09-30 23:27:25 -070017always := $(hostprogs-y) $(hostprogs-m)
Linus Torvalds1da177e2005-04-16 15:20:36 -070018
Sam Ravnborg07aea3a2006-07-23 20:47:50 +020019# The following hostprogs-y programs are only build on demand
20hostprogs-y += unifdef
21
Linus Torvalds1da177e2005-04-16 15:20:36 -070022subdir-$(CONFIG_MODVERSIONS) += genksyms
Sam Ravnborg12715d22006-08-08 20:43:39 +020023subdir-y += mod
Serge E. Hallyn93c06cb2008-08-26 14:47:57 -050024subdir-$(CONFIG_SECURITY_SELINUX) += selinux
Linus Torvalds1da177e2005-04-16 15:20:36 -070025
26# Let clean descend into subdirs
Serge E. Hallyn93c06cb2008-08-26 14:47:57 -050027subdir- += basic kconfig package selinux