1*53ee8cc1Swenshuai.xi### 2*53ee8cc1Swenshuai.xi# scripts contains sources for various helper programs used throughout 3*53ee8cc1Swenshuai.xi# the kernel for the build process. 4*53ee8cc1Swenshuai.xi# --------------------------------------------------------------------------- 5*53ee8cc1Swenshuai.xi# kallsyms: Find all symbols in vmlinux 6*53ee8cc1Swenshuai.xi# pnmttologo: Convert pnm files to logo files 7*53ee8cc1Swenshuai.xi# conmakehash: Create chartable 8*53ee8cc1Swenshuai.xi# conmakehash: Create arrays for initializing the kernel console tables 9*53ee8cc1Swenshuai.xi# docproc: Used in Documentation/DocBook 10*53ee8cc1Swenshuai.xi 11*53ee8cc1Swenshuai.xihostprogs-$(CONFIG_KALLSYMS) += kallsyms 12*53ee8cc1Swenshuai.xihostprogs-$(CONFIG_LOGO) += pnmtologo 13*53ee8cc1Swenshuai.xihostprogs-$(CONFIG_VT) += conmakehash 14*53ee8cc1Swenshuai.xihostprogs-$(CONFIG_IKCONFIG) += bin2c 15*53ee8cc1Swenshuai.xihostprogs-$(BUILD_C_RECORDMCOUNT) += recordmcount 16*53ee8cc1Swenshuai.xi 17*53ee8cc1Swenshuai.xihostprogs-$(CONFIG_PULLOUT_INITRAMFS) += packramfs 18*53ee8cc1Swenshuai.xialways := $(hostprogs-y) $(hostprogs-m) 19*53ee8cc1Swenshuai.xi 20*53ee8cc1Swenshuai.xi# The following hostprogs-y programs are only build on demand 21*53ee8cc1Swenshuai.xihostprogs-y += unifdef docproc 22*53ee8cc1Swenshuai.xi 23*53ee8cc1Swenshuai.xi# These targets are used internally to avoid "is up to date" messages 24*53ee8cc1Swenshuai.xiPHONY += build_unifdef 25*53ee8cc1Swenshuai.xibuild_unifdef: scripts/unifdef FORCE 26*53ee8cc1Swenshuai.xi @: 27*53ee8cc1Swenshuai.xibuild_docproc: scripts/docproc FORCE 28*53ee8cc1Swenshuai.xi @: 29*53ee8cc1Swenshuai.xi 30*53ee8cc1Swenshuai.xisubdir-$(CONFIG_MODVERSIONS) += genksyms 31*53ee8cc1Swenshuai.xisubdir-y += mod 32*53ee8cc1Swenshuai.xisubdir-$(CONFIG_SECURITY_SELINUX) += selinux 33*53ee8cc1Swenshuai.xisubdir-$(CONFIG_DTC) += dtc 34*53ee8cc1Swenshuai.xi 35*53ee8cc1Swenshuai.xi# Let clean descend into subdirs 36*53ee8cc1Swenshuai.xisubdir- += basic kconfig package selinux 37