blob: aafdf064feefdf49bc98d66c72199907e30ca921 [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# ---------------------------------------------------------------------------
5# kallsyms: Find all symbols in vmlinux
6# pnmttologo: Convert pnm files to logo files
David Woodhouse556b0f52009-01-10 14:53:15 +00007# conmakehash: Create chartable
Linus Torvalds1da177e2005-04-16 15:20:36 -07008# conmakehash: Create arrays for initializing the kernel console tables
9
10hostprogs-$(CONFIG_KALLSYMS) += kallsyms
11hostprogs-$(CONFIG_LOGO) += pnmtologo
12hostprogs-$(CONFIG_VT) += conmakehash
13hostprogs-$(CONFIG_PROM_CONSOLE) += conmakehash
14hostprogs-$(CONFIG_IKCONFIG) += bin2c
15
Ross Birof2443ab2006-09-30 23:27:25 -070016always := $(hostprogs-y) $(hostprogs-m)
Linus Torvalds1da177e2005-04-16 15:20:36 -070017
Sam Ravnborg07aea3a2006-07-23 20:47:50 +020018# The following hostprogs-y programs are only build on demand
19hostprogs-y += unifdef
20
Linus Torvalds1da177e2005-04-16 15:20:36 -070021subdir-$(CONFIG_MODVERSIONS) += genksyms
Sam Ravnborg12715d22006-08-08 20:43:39 +020022subdir-y += mod
Serge E. Hallyn93c06cb2008-08-26 14:47:57 -050023subdir-$(CONFIG_SECURITY_SELINUX) += selinux
Linus Torvalds1da177e2005-04-16 15:20:36 -070024
25# Let clean descend into subdirs
Serge E. Hallyn93c06cb2008-08-26 14:47:57 -050026subdir- += basic kconfig package selinux