xref: /openbmc/linux/scripts/Makefile (revision 72441cb1)
11da177e4SLinus Torvalds###
21da177e4SLinus Torvalds# scripts contains sources for various helper programs used throughout
31da177e4SLinus Torvalds# the kernel for the build process.
41da177e4SLinus Torvalds# ---------------------------------------------------------------------------
51da177e4SLinus Torvalds# kallsyms:      Find all symbols in vmlinux
61da177e4SLinus Torvalds# pnmttologo:    Convert pnm files to logo files
7556b0f58SDavid Woodhouse# conmakehash:   Create chartable
81da177e4SLinus Torvalds# conmakehash:	 Create arrays for initializing the kernel console tables
91da177e4SLinus Torvalds
101da177e4SLinus Torvaldshostprogs-$(CONFIG_KALLSYMS)     += kallsyms
111da177e4SLinus Torvaldshostprogs-$(CONFIG_LOGO)         += pnmtologo
121da177e4SLinus Torvaldshostprogs-$(CONFIG_VT)           += conmakehash
131da177e4SLinus Torvaldshostprogs-$(CONFIG_IKCONFIG)     += bin2c
1472441cb1SSteven Rostedthostprogs-$(BUILD_C_RECORDMCOUNT) += recordmcount
151da177e4SLinus Torvalds
16f2443ab6SRoss Biroalways		:= $(hostprogs-y) $(hostprogs-m)
171da177e4SLinus Torvalds
1807aea3a7SSam Ravnborg# The following hostprogs-y programs are only build on demand
1907aea3a7SSam Ravnborghostprogs-y += unifdef
2007aea3a7SSam Ravnborg
211da177e4SLinus Torvaldssubdir-$(CONFIG_MODVERSIONS) += genksyms
2212715d20SSam Ravnborgsubdir-y                     += mod
2393c06cbbSSerge E. Hallynsubdir-$(CONFIG_SECURITY_SELINUX) += selinux
249fffb55fSDavid Gibsonsubdir-$(CONFIG_DTC)         += dtc
251da177e4SLinus Torvalds
261da177e4SLinus Torvalds# Let clean descend into subdirs
2793c06cbbSSerge E. Hallynsubdir-	+= basic kconfig package selinux
28