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 9bffd2020SPeter Foley# docproc: Used in Documentation/DocBook 101da177e4SLinus Torvalds 111da177e4SLinus Torvaldshostprogs-$(CONFIG_KALLSYMS) += kallsyms 121da177e4SLinus Torvaldshostprogs-$(CONFIG_LOGO) += pnmtologo 131da177e4SLinus Torvaldshostprogs-$(CONFIG_VT) += conmakehash 141da177e4SLinus Torvaldshostprogs-$(CONFIG_IKCONFIG) += bin2c 1572441cb1SSteven Rostedthostprogs-$(BUILD_C_RECORDMCOUNT) += recordmcount 161da177e4SLinus Torvalds 17f2443ab6SRoss Biroalways := $(hostprogs-y) $(hostprogs-m) 181da177e4SLinus Torvalds 1907aea3a7SSam Ravnborg# The following hostprogs-y programs are only build on demand 20bffd2020SPeter Foleyhostprogs-y += unifdef docproc 2107aea3a7SSam Ravnborg 22bffd2020SPeter Foley# These targets are used internally to avoid "is up to date" messages 23e1b702cfSMike WaychisonPHONY += build_unifdef 24e1b702cfSMike Waychisonbuild_unifdef: scripts/unifdef FORCE 25e1b702cfSMike Waychison @: 26bffd2020SPeter Foleybuild_docproc: scripts/docproc FORCE 27bffd2020SPeter Foley @: 28e1b702cfSMike Waychison 291da177e4SLinus Torvaldssubdir-$(CONFIG_MODVERSIONS) += genksyms 3012715d20SSam Ravnborgsubdir-y += mod 3193c06cbbSSerge E. Hallynsubdir-$(CONFIG_SECURITY_SELINUX) += selinux 329fffb55fSDavid Gibsonsubdir-$(CONFIG_DTC) += dtc 331da177e4SLinus Torvalds 341da177e4SLinus Torvalds# Let clean descend into subdirs 3593c06cbbSSerge E. Hallynsubdir- += basic kconfig package selinux 36