Files
linux-apfs/scripts/Makefile
T

42 lines
1.4 KiB
Makefile
Raw Normal View History

2005-04-16 15:20:36 -07:00
###
# 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
2009-01-10 14:53:15 +00:00
# conmakehash: Create chartable
2005-04-16 15:20:36 -07:00
# conmakehash: Create arrays for initializing the kernel console tables
# docproc: Used in Documentation/DocBook
2005-04-16 15:20:36 -07:00
HOST_EXTRACFLAGS += -I$(srctree)/tools/include
2005-04-16 15:20:36 -07:00
hostprogs-$(CONFIG_KALLSYMS) += kallsyms
hostprogs-$(CONFIG_LOGO) += pnmtologo
hostprogs-$(CONFIG_VT) += conmakehash
hostprogs-$(BUILD_C_RECORDMCOUNT) += recordmcount
hostprogs-$(CONFIG_BUILDTIME_EXTABLE_SORT) += sortextable
2012-09-21 23:31:13 +01:00
hostprogs-$(CONFIG_ASN1) += asn1_compiler
2005-04-16 15:20:36 -07:00
HOSTCFLAGS_sortextable.o = -I$(srctree)/tools/include
2012-09-21 23:31:13 +01:00
HOSTCFLAGS_asn1_compiler.o = -I$(srctree)/include
2005-04-16 15:20:36 -07:00
always := $(hostprogs-y) $(hostprogs-m)
2005-04-16 15:20:36 -07:00
2006-07-23 20:47:50 +02:00
# The following hostprogs-y programs are only build on demand
hostprogs-y += unifdef docproc
2006-07-23 20:47:50 +02:00
# These targets are used internally to avoid "is up to date" messages
PHONY += build_unifdef build_docproc
build_unifdef: $(obj)/unifdef
@:
build_docproc: $(obj)/docproc
@:
2005-04-16 15:20:36 -07:00
subdir-$(CONFIG_MODVERSIONS) += genksyms
subdir-y += mod
subdir-$(CONFIG_SECURITY_SELINUX) += selinux
subdir-$(CONFIG_DTC) += dtc
2005-04-16 15:20:36 -07:00
# Let clean descend into subdirs
subdir- += basic kconfig package