Blame view
scripts/Makefile
1.6 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 |
1da177e4c
|
11 12 13 |
hostprogs-$(CONFIG_KALLSYMS) += kallsyms hostprogs-$(CONFIG_LOGO) += pnmtologo hostprogs-$(CONFIG_VT) += conmakehash |
72441cb1f
|
14 |
hostprogs-$(BUILD_C_RECORDMCOUNT) += recordmcount |
a79f248b9
|
15 |
hostprogs-$(CONFIG_BUILDTIME_EXTABLE_SORT) += sortextable |
4520c6a49
|
16 |
hostprogs-$(CONFIG_ASN1) += asn1_compiler |
770f2b987
|
17 18 |
hostprogs-$(CONFIG_MODULE_SIG) += sign-file hostprogs-$(CONFIG_SYSTEM_TRUSTED_KEYRING) += extract-cert |
c4c361059
|
19 |
hostprogs-$(CONFIG_SYSTEM_EXTRA_CERTIFICATE) += insert-sys-cert |
1da177e4c
|
20 |
|
d59a16836
|
21 |
HOSTCFLAGS_sortextable.o = -I$(srctree)/tools/include |
4520c6a49
|
22 |
HOSTCFLAGS_asn1_compiler.o = -I$(srctree)/include |
3f1e1bea3
|
23 |
HOSTLOADLIBES_sign-file = -lcrypto |
1329e8cc6
|
24 |
HOSTLOADLIBES_extract-cert = -lcrypto |
1da177e4c
|
25 |
|
f2443ab6c
|
26 |
always := $(hostprogs-y) $(hostprogs-m) |
1da177e4c
|
27 |
|
07aea3a71
|
28 |
# The following hostprogs-y programs are only build on demand |
52b3f239b
|
29 |
hostprogs-y += unifdef |
07aea3a71
|
30 |
|
bffd2020a
|
31 |
# These targets are used internally to avoid "is up to date" messages |
52b3f239b
|
32 |
PHONY += build_unifdef |
bfdfaeae5
|
33 |
build_unifdef: $(obj)/unifdef |
e1b702cf2
|
34 |
@: |
1da177e4c
|
35 |
subdir-$(CONFIG_MODVERSIONS) += genksyms |
12715d20a
|
36 |
subdir-y += mod |
93c06cbbf
|
37 |
subdir-$(CONFIG_SECURITY_SELINUX) += selinux |
9fffb55f6
|
38 |
subdir-$(CONFIG_DTC) += dtc |
3ee7b3fa2
|
39 |
subdir-$(CONFIG_GDB_SCRIPTS) += gdb |
1da177e4c
|
40 41 |
# Let clean descend into subdirs |
6b90bd4ba
|
42 |
subdir- += basic kconfig package gcc-plugins |