Blame view
lib/Makefile
3.92 KB
83d290c56 SPDX: Convert all... |
1 |
# SPDX-License-Identifier: GPL-2.0+ |
87e33a6fd Initial revision |
2 |
# |
f93286397 Add support for a... |
3 |
# (C) Copyright 2000-2006 |
87e33a6fd Initial revision |
4 |
# Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
87e33a6fd Initial revision |
5 |
|
05bad4aa5 scaled down versi... |
6 |
ifndef CONFIG_SPL_BUILD |
fdc36977b Makefile: move so... |
7 |
|
867a6ac86 efi: Add start-up... |
8 |
obj-$(CONFIG_EFI) += efi/ |
05ef48a24 efi_driver: EFI b... |
9 |
obj-$(CONFIG_EFI_LOADER) += efi_driver/ |
ed980b8c6 efi_loader: hook ... |
10 |
obj-$(CONFIG_EFI_LOADER) += efi_loader/ |
f6e7b6538 efi_selftest: sim... |
11 |
obj-$(CONFIG_CMD_BOOTEFI_SELFTEST) += efi_selftest/ |
fdc36977b Makefile: move so... |
12 |
obj-$(CONFIG_LZMA) += lzma/ |
f071c5019 lib: bzip2: move ... |
13 |
obj-$(CONFIG_BZIP2) += bzip2/ |
fdc36977b Makefile: move so... |
14 |
obj-$(CONFIG_TIZEN) += tizen/ |
d1389403c Add a dhrystone b... |
15 |
obj-$(CONFIG_FIT) += libfdt/ |
8b50d526e dm: Add a functio... |
16 |
obj-$(CONFIG_OF_LIVE) += of_live.o |
d1389403c Add a dhrystone b... |
17 |
obj-$(CONFIG_CMD_DHRYSTONE) += dhry/ |
d330e04d9 lib: at91: Add lo... |
18 |
obj-$(CONFIG_ARCH_AT91) += at91/ |
32ce6179f optee: Add lib en... |
19 |
obj-$(CONFIG_OPTEE) += optee/ |
ab8a0e069 lib: add asn1 dec... |
20 |
obj-$(CONFIG_ASN1_DECODER) += asn1_decoder.o |
b4adf627d lib: crypto: add ... |
21 |
obj-y += crypto/ |
de2d7e7bf MLK-18591-4 andro... |
22 |
obj-$(CONFIG_IMX_TRUSTY_OS) += trusty/ql-tipc/ |
fdc36977b Makefile: move so... |
23 |
|
0a1a15755 lib: convert make... |
24 |
obj-$(CONFIG_AES) += aes.o |
4df357811 u-boot: fit: add ... |
25 |
obj-$(CONFIG_AES) += aes/ |
3c10dc95b binman: Add a lib... |
26 |
obj-$(CONFIG_$(SPL_TPL_)BINMAN_FDT) += binman.o |
fbb3ea806 lib: build charse... |
27 28 |
ifndef API_BUILD |
f11a164b5 test: unit tests ... |
29 30 31 |
ifneq ($(CONFIG_UT_UNICODE)$(CONFIG_EFI_LOADER),) obj-y += charset.o endif |
fbb3ea806 lib: build charse... |
32 |
endif |
0a1a15755 lib: convert make... |
33 34 |
obj-$(CONFIG_USB_TTY) += circbuf.o obj-y += crc7.o |
60d18d3fe Add crc8 routine |
35 |
obj-y += crc8.o |
0a1a15755 lib: convert make... |
36 |
obj-y += crc16.o |
10f5f5a90 Drop CONFIG_ERRNO... |
37 |
obj-$(CONFIG_ERRNO_STR) += errno_str.o |
b047d671d lib, fdt: move fd... |
38 |
obj-$(CONFIG_FIT) += fdtdec_common.o |
0a1a15755 lib: convert make... |
39 |
obj-$(CONFIG_TEST_FDTDEC) += fdtdec_test.o |
0a1a15755 lib: convert make... |
40 |
obj-$(CONFIG_GZIP_COMPRESSED) += gzip.o |
4b6dddc29 x86: Move smbios ... |
41 |
obj-$(CONFIG_GENERATE_SMBIOS_TABLE) += smbios.o |
c232d14d1 mmc: Separate "mm... |
42 |
obj-$(CONFIG_IMAGE_SPARSE) += image-sparse.o |
0a1a15755 lib: convert make... |
43 44 |
obj-y += ldiv.o obj-$(CONFIG_MD5) += md5.o |
83a486b6f lib: Add xxhash s... |
45 |
obj-$(CONFIG_XXHASH) += xxhash.o |
0a1a15755 lib: convert make... |
46 47 |
obj-y += net_utils.o obj-$(CONFIG_PHYSMEM) += physmem.o |
1acab96d9 Add rivest cipher... |
48 |
obj-y += rc4.o |
91fdabc67 eMMC: add support... |
49 |
obj-$(CONFIG_SUPPORT_EMMC_RPMB) += sha256.o |
0a1a15755 lib: convert make... |
50 51 |
obj-$(CONFIG_RBTREE) += rbtree.o obj-$(CONFIG_BITREVERSE) += bitrev.o |
c068d44aa lib, list_sort: a... |
52 |
obj-y += list_sort.o |
05bad4aa5 scaled down versi... |
53 |
endif |
6307896c1 tpm: Add support ... |
54 55 56 57 58 59 |
obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm-common.o ifeq ($(CONFIG_$(SPL_TPL_)TPM),y) obj-y += crc8.o obj-$(CONFIG_TPM_V1) += tpm-v1.o obj-$(CONFIG_TPM_V2) += tpm-v2.o endif |
1b27753a9 lib: rsa: conside... |
60 |
obj-$(CONFIG_$(SPL_)RSA) += rsa/ |
089df18bf lib: move hash CO... |
61 62 |
obj-$(CONFIG_SHA1) += sha1.o obj-$(CONFIG_SHA256) += sha256.o |
51c14cd12 verified-boot: Mi... |
63 |
|
7264f2928 spl: fit: Eanble ... |
64 |
obj-$(CONFIG_$(SPL_)ZLIB) += zlib/ |
8509f22aa lib: add Zstandar... |
65 |
obj-$(CONFIG_$(SPL_)ZSTD) += zstd/ |
7264f2928 spl: fit: Eanble ... |
66 |
obj-$(CONFIG_$(SPL_)GZIP) += gunzip.o |
f52bdf4b6 lib: allow buildi... |
67 |
obj-$(CONFIG_$(SPL_)LZO) += lzo/ |
048c6e895 spl: lz4: Allow u... |
68 |
obj-$(CONFIG_$(SPL_)LZ4) += lz4_wrapper.o |
f52bdf4b6 lib: allow buildi... |
69 |
|
3330584d2 avb2.0: integrate... |
70 |
obj-$(CONFIG_LIBAVB) += libavb/ |
64520f3e5 MLK-18591-1 andro... |
71 |
obj-$(CONFIG_AVB_SUPPORT) += avb/ |
7264f2928 spl: fit: Eanble ... |
72 |
|
6dced7dff lib: spl: differe... |
73 74 75 76 |
obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += libfdt/ ifneq ($(CONFIG_$(SPL_TPL_)BUILD)$(CONFIG_$(SPL_TPL_)OF_PLATDATA),yy) obj-$(CONFIG_$(SPL_TPL_)OF_CONTROL) += fdtdec_common.o obj-$(CONFIG_$(SPL_TPL_)OF_CONTROL) += fdtdec.o |
7a53a5407 dm: Don't include... |
77 |
endif |
1d76bf226 fdt: Allow FDT fu... |
78 |
|
24de357a3 SPL: Add YMODEM o... |
79 |
ifdef CONFIG_SPL_BUILD |
0a1a15755 lib: convert make... |
80 |
obj-$(CONFIG_SPL_YMODEM_SUPPORT) += crc16.o |
51c2345bd Roll CRC16-CCITT ... |
81 |
obj-$(CONFIG_$(SPL_TPL_)HASH_SUPPORT) += crc16.o |
d721001fd net: Move the che... |
82 |
obj-y += net_utils.o |
24de357a3 SPL: Add YMODEM o... |
83 |
endif |
0a1a15755 lib: convert make... |
84 |
obj-$(CONFIG_ADDR_MAP) += addr_map.o |
03dcf17db common: command: ... |
85 |
obj-y += qsort.o |
0a1a15755 lib: convert make... |
86 87 88 |
obj-y += hashtable.o obj-y += errno.o obj-y += display_options.o |
15b51878b Makefile: remove ... |
89 |
CFLAGS_display_options.o := $(if $(BUILD_TAG),-DBUILD_TAG='"$(BUILD_TAG)"') |
0a1a15755 lib: convert make... |
90 91 |
obj-$(CONFIG_BCH) += bch.o obj-y += crc32.o |
85d8bf571 lib: Add CRC32-C |
92 |
obj-$(CONFIG_CRC32C) += crc32c.o |
0a1a15755 lib: convert make... |
93 94 |
obj-y += ctype.o obj-y += div64.o |
d3329f09c lib: Makefile: bu... |
95 |
obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += fdtdec.o fdtdec_common.o |
0a1a15755 lib: convert make... |
96 |
obj-y += hang.o |
0c06db598 lib, linux: move ... |
97 |
obj-y += linux_compat.o |
0a1a15755 lib: convert make... |
98 |
obj-y += linux_string.o |
a156c47e3 tftp: prevent ove... |
99 |
obj-$(CONFIG_LMB) += lmb.o |
b7b65090b Add a circular me... |
100 |
obj-y += membuff.o |
0a1a15755 lib: convert make... |
101 102 |
obj-$(CONFIG_REGEX) += slre.o obj-y += string.o |
1befb38b8 x86: Move table c... |
103 |
obj-y += tables_csum.o |
0a1a15755 lib: convert make... |
104 |
obj-y += time.o |
f8c987f8f lib: Add hexdump |
105 |
obj-y += hexdump.o |
0a1a15755 lib: convert make... |
106 |
obj-$(CONFIG_TRACE) += trace.o |
4e4815fea lib: uuid: add fu... |
107 |
obj-$(CONFIG_LIB_UUID) += uuid.o |
3c1c68cc0 lib: rand: introd... |
108 |
obj-$(CONFIG_LIB_RAND) += rand.o |
14ad44ab4 spl: Split sprint... |
109 |
obj-y += panic.o |
e91df49fb kbuild, blackfin:... |
110 |
|
14ad44ab4 spl: Split sprint... |
111 |
ifeq ($(CONFIG_$(SPL_TPL_)BUILD),y) |
7d9cde103 lib/tiny-printf.c... |
112 |
# SPL U-Boot may use full-printf, tiny-printf or none at all |
27084c03d spl: Allow tiny p... |
113 |
ifdef CONFIG_$(SPL_TPL_)USE_TINY_PRINTF |
14ad44ab4 spl: Split sprint... |
114 |
obj-$(CONFIG_$(SPL_TPL_)SPRINTF) += tiny-printf.o |
7d9cde103 lib/tiny-printf.c... |
115 |
else |
2189d5f1e Move strtomhz() t... |
116 |
obj-$(CONFIG_$(SPL_TPL_)SPRINTF) += vsprintf.o |
7d9cde103 lib/tiny-printf.c... |
117 |
endif |
14ad44ab4 spl: Split sprint... |
118 |
obj-$(CONFIG_$(SPL_TPL_)STRTO) += strto.o |
7d9cde103 lib/tiny-printf.c... |
119 120 |
else # Main U-Boot always uses the full printf support |
2189d5f1e Move strtomhz() t... |
121 |
obj-y += vsprintf.o strto.o |
7d9cde103 lib/tiny-printf.c... |
122 |
endif |
05429b6cf rtc: move date.c ... |
123 |
obj-y += date.o |
a9b45e6e8 lib: add oid regi... |
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 |
# # Build a fast OID lookup registry from include/linux/oid_registry.h # obj-$(CONFIG_OID_REGISTRY) += oid_registry.o $(obj)/oid_registry.o: $(obj)/oid_registry_data.c $(obj)/oid_registry_data.c: $(srctree)/include/linux/oid_registry.h \ $(srctree)/scripts/build_OID_registry $(call cmd,build_OID_registry) quiet_cmd_build_OID_registry = GEN $@ cmd_build_OID_registry = perl $(srctree)/scripts/build_OID_registry $< $@ clean-files += oid_registry_data.c |
e91df49fb kbuild, blackfin:... |
139 |
subdir-ccflags-$(CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED) += -O2 |