Makefile 893 字节
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
###
# 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
# conmakehash:   Create chartable
# 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
L
Linus Torvalds 已提交
23 24

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