2005-04-16 15:20:36 -07:00
|
|
|
###
|
|
|
|
|
# scripts contains sources for various helper programs used throughout
|
|
|
|
|
# the kernel for the build process.
|
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
|
# kallsyms: Find all symbols in vmlinux
|
|
|
|
|
# pnmttologo: Convert pnm files to logo files
|
2009-01-10 14:53:15 +00:00
|
|
|
# conmakehash: Create chartable
|
2005-04-16 15:20:36 -07:00
|
|
|
# conmakehash: Create arrays for initializing the kernel console tables
|
2011-05-02 22:48:03 +02:00
|
|
|
# docproc: Used in Documentation/DocBook
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
hostprogs-$(CONFIG_KALLSYMS) += kallsyms
|
|
|
|
|
hostprogs-$(CONFIG_LOGO) += pnmtologo
|
|
|
|
|
hostprogs-$(CONFIG_VT) += conmakehash
|
|
|
|
|
hostprogs-$(CONFIG_IKCONFIG) += bin2c
|
2010-10-13 17:12:30 -04:00
|
|
|
hostprogs-$(BUILD_C_RECORDMCOUNT) += recordmcount
|
2012-04-19 14:59:55 -07:00
|
|
|
hostprogs-$(CONFIG_BUILDTIME_EXTABLE_SORT) += sortextable
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2006-09-30 23:27:25 -07:00
|
|
|
always := $(hostprogs-y) $(hostprogs-m)
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2006-07-23 20:47:50 +02:00
|
|
|
# The following hostprogs-y programs are only build on demand
|
2011-05-02 22:48:03 +02:00
|
|
|
hostprogs-y += unifdef docproc
|
2006-07-23 20:47:50 +02:00
|
|
|
|
2011-05-02 22:48:03 +02:00
|
|
|
# These targets are used internally to avoid "is up to date" messages
|
2011-03-14 23:34:25 -07:00
|
|
|
PHONY += build_unifdef
|
|
|
|
|
build_unifdef: scripts/unifdef FORCE
|
|
|
|
|
@:
|
2011-05-02 22:48:03 +02:00
|
|
|
build_docproc: scripts/docproc FORCE
|
|
|
|
|
@:
|
2011-03-14 23:34:25 -07:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
subdir-$(CONFIG_MODVERSIONS) += genksyms
|
2006-08-08 20:43:39 +02:00
|
|
|
subdir-y += mod
|
2008-08-26 14:47:57 -05:00
|
|
|
subdir-$(CONFIG_SECURITY_SELINUX) += selinux
|
2009-04-30 15:25:53 +10:00
|
|
|
subdir-$(CONFIG_DTC) += dtc
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
# Let clean descend into subdirs
|
2008-08-26 14:47:57 -05:00
|
|
|
subdir- += basic kconfig package selinux
|