xref: /openbmc/linux/scripts/Makefile (revision 07aea3a7)
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
71da177e4SLinus Torvalds# 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_PROM_CONSOLE) += conmakehash
141da177e4SLinus Torvaldshostprogs-$(CONFIG_IKCONFIG)     += bin2c
151da177e4SLinus Torvalds
161da177e4SLinus Torvaldsalways		:= $(hostprogs-y)
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
221da177e4SLinus Torvaldssubdir-$(CONFIG_MODULES)     += mod
231da177e4SLinus Torvalds
241da177e4SLinus Torvalds# Let clean descend into subdirs
256f6046cfSSam Ravnborgsubdir-	+= basic kconfig package
26