Blame view
scripts/Makefile
1.45 KB
b24413180
|
1 |
# SPDX-License-Identifier: GPL-2.0 |
1da177e4c
|
2 3 4 5 6 7 |
### # 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 |
556b0f58b
|
8 |
# conmakehash: Create chartable |
1da177e4c
|
9 |
# conmakehash: Create arrays for initializing the kernel console tables |
6520fe556
|
10 |
HOST_EXTRACFLAGS += -I$(srctree)/tools/include |
c417fbce9
|
11 |
hostprogs-$(CONFIG_BUILD_BIN2C) += bin2c |
1da177e4c
|
12 13 14 |
hostprogs-$(CONFIG_KALLSYMS) += kallsyms hostprogs-$(CONFIG_LOGO) += pnmtologo hostprogs-$(CONFIG_VT) += conmakehash |
72441cb1f
|
15 |
hostprogs-$(BUILD_C_RECORDMCOUNT) += recordmcount |
a79f248b9
|
16 |
hostprogs-$(CONFIG_BUILDTIME_EXTABLE_SORT) += sortextable |
4520c6a49
|
17 |
hostprogs-$(CONFIG_ASN1) += asn1_compiler |
c8424e776
|
18 |
hostprogs-$(CONFIG_MODULE_SIG_FORMAT) += sign-file |
770f2b987
|
19 |
hostprogs-$(CONFIG_SYSTEM_TRUSTED_KEYRING) += extract-cert |
c4c361059
|
20 |
hostprogs-$(CONFIG_SYSTEM_EXTRA_CERTIFICATE) += insert-sys-cert |
1da177e4c
|
21 |
|
d59a16836
|
22 |
HOSTCFLAGS_sortextable.o = -I$(srctree)/tools/include |
4520c6a49
|
23 |
HOSTCFLAGS_asn1_compiler.o = -I$(srctree)/include |
8377bd2b9
|
24 25 |
HOSTLDLIBS_sign-file = -lcrypto HOSTLDLIBS_extract-cert = -lcrypto |
1da177e4c
|
26 |
|
f2443ab6c
|
27 |
always := $(hostprogs-y) $(hostprogs-m) |
1da177e4c
|
28 |
|
07aea3a71
|
29 |
# The following hostprogs-y programs are only build on demand |
52b3f239b
|
30 |
hostprogs-y += unifdef |
07aea3a71
|
31 |
|
ce2fd53a1
|
32 |
subdir-$(CONFIG_GCC_PLUGINS) += gcc-plugins |
1da177e4c
|
33 |
subdir-$(CONFIG_MODVERSIONS) += genksyms |
93c06cbbf
|
34 |
subdir-$(CONFIG_SECURITY_SELINUX) += selinux |
1da177e4c
|
35 36 |
# Let clean descend into subdirs |
46a63d4b0
|
37 |
subdir- += basic dtc gdb kconfig mod |