Makefile 1011 字节
Newer Older
L
Linus Torvalds 已提交
1 2 3 4
###
# scripts contains sources for various helper programs used throughout
# the kernel for the build process.
# ---------------------------------------------------------------------------
S
Sam Ravnborg 已提交
5
# ihex2fw:       Parser/loader for IHEX formatted data
L
Linus Torvalds 已提交
6 7 8 9
# kallsyms:      Find all symbols in vmlinux
# pnmttologo:    Convert pnm files to logo files
# conmakehash:	 Create arrays for initializing the kernel console tables

S
Sam Ravnborg 已提交
10
hostprogs-y                      := ihex2fw
L
Linus Torvalds 已提交
11 12 13 14 15 16
hostprogs-$(CONFIG_KALLSYMS)     += kallsyms
hostprogs-$(CONFIG_LOGO)         += pnmtologo
hostprogs-$(CONFIG_VT)           += conmakehash
hostprogs-$(CONFIG_PROM_CONSOLE) += conmakehash
hostprogs-$(CONFIG_IKCONFIG)     += bin2c

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

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

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

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