Makefile 934 字节
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
# 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

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

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

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

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