Makefile 1.1 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5 6
###
# 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
7
# conmakehash:   Create chartable
L
Linus Torvalds 已提交
8 9 10 11 12 13
# conmakehash:	 Create arrays for initializing the kernel console tables

hostprogs-$(CONFIG_KALLSYMS)     += kallsyms
hostprogs-$(CONFIG_LOGO)         += pnmtologo
hostprogs-$(CONFIG_VT)           += conmakehash
hostprogs-$(CONFIG_IKCONFIG)     += bin2c
14
hostprogs-$(BUILD_C_RECORDMCOUNT) += recordmcount
L
Linus Torvalds 已提交
15

16
always		:= $(hostprogs-y) $(hostprogs-m)
L
Linus Torvalds 已提交
17

S
Sam Ravnborg 已提交
18 19 20
# The following hostprogs-y programs are only build on demand
hostprogs-y += unifdef

21 22 23 24 25
# This target is used internally to avoid "is up to date" messages
PHONY += build_unifdef
build_unifdef: scripts/unifdef FORCE
	@:

L
Linus Torvalds 已提交
26
subdir-$(CONFIG_MODVERSIONS) += genksyms
27
subdir-y                     += mod
28
subdir-$(CONFIG_SECURITY_SELINUX) += selinux
29
subdir-$(CONFIG_DTC)         += dtc
L
Linus Torvalds 已提交
30 31

# Let clean descend into subdirs
32
subdir-	+= basic kconfig package selinux