Files
linux-apfs/scripts/Makefile
T

51 lines
1.8 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
2015-09-28 01:09:52 +01:00
# check-lc_ctype: 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
hostprogs-$(CONFIG_MODULE_SIG) += sign-file
hostprogs-$(CONFIG_SYSTEM_TRUSTED_KEYRING) += extract-cert
hostprogs-$(CONFIG_SYSTEM_EXTRA_CERTIFICATE) += insert-sys-cert
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
HOSTLOADLIBES_sign-file = -lcrypto
HOSTLOADLIBES_extract-cert = -lcrypto
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
2015-09-28 01:09:52 +01:00
hostprogs-y += unifdef docproc check-lc_ctype
2006-07-23 20:47:50 +02:00
# These targets are used internally to avoid "is up to date" messages
2015-09-28 01:09:52 +01:00
PHONY += build_unifdef build_docproc build_check-lc_ctype
build_unifdef: $(obj)/unifdef
@:
build_docproc: $(obj)/docproc
@:
2015-09-28 01:09:52 +01:00
build_check-lc_ctype: $(obj)/check-lc_ctype
@:
2005-04-16 15:20:36 -07:00
subdir-$(CONFIG_MODVERSIONS) += genksyms
subdir-y += mod
subdir-$(CONFIG_SECURITY_SELINUX) += selinux
subdir-$(CONFIG_DTC) += dtc
2015-02-17 13:46:36 -08:00
subdir-$(CONFIG_GDB_SCRIPTS) += gdb
2005-04-16 15:20:36 -07:00
# Let clean descend into subdirs
2016-05-24 00:09:38 +02:00
subdir- += basic kconfig package gcc-plugins