Makefile 946 字节
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 14 15
# conmakehash:	 Create arrays for initializing the kernel console tables

hostprogs-$(CONFIG_KALLSYMS)     += kallsyms
hostprogs-$(CONFIG_LOGO)         += pnmtologo
hostprogs-$(CONFIG_VT)           += conmakehash
hostprogs-$(CONFIG_PROM_CONSOLE) += conmakehash
hostprogs-$(CONFIG_IKCONFIG)     += bin2c

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

L
Linus Torvalds 已提交
21
subdir-$(CONFIG_MODVERSIONS) += genksyms
22
subdir-y                     += mod
23
subdir-$(CONFIG_SECURITY_SELINUX) += selinux
L
Linus Torvalds 已提交
24 25

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