blob: 4e3b500f5ad54fa213cc46759fee8e7ed9525800 [file] [log] [blame]
wdenk87e33a62002-07-20 18:56:22 +00001#
Marian Balakowiczf9328632006-09-01 19:49:50 +02002# (C) Copyright 2000-2006
wdenk87e33a62002-07-20 18:56:22 +00003# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
wdenk87e33a62002-07-20 18:56:22 +00006#
7
Aneesh V05bad4a2011-07-13 05:11:06 +00008ifndef CONFIG_SPL_BUILD
Masahiro Yamada0a1a1572013-10-17 17:35:01 +09009obj-$(CONFIG_AES) += aes.o
10obj-$(CONFIG_BZIP2) += bzlib.o
11obj-$(CONFIG_BZIP2) += bzlib_crctable.o
12obj-$(CONFIG_BZIP2) += bzlib_decompress.o
13obj-$(CONFIG_BZIP2) += bzlib_randtable.o
14obj-$(CONFIG_BZIP2) += bzlib_huffman.o
15obj-$(CONFIG_USB_TTY) += circbuf.o
16obj-y += crc7.o
17obj-y += crc16.o
18obj-$(CONFIG_OF_CONTROL) += fdtdec.o
19obj-$(CONFIG_TEST_FDTDEC) += fdtdec_test.o
20obj-$(CONFIG_GZIP) += gunzip.o
21obj-$(CONFIG_GZIP_COMPRESSED) += gzip.o
22obj-y += initcall.o
23obj-$(CONFIG_LMB) += lmb.o
24obj-y += ldiv.o
25obj-$(CONFIG_MD5) += md5.o
26obj-y += net_utils.o
27obj-$(CONFIG_PHYSMEM) += physmem.o
28obj-y += qsort.o
29obj-$(CONFIG_SHA1) += sha1.o
30obj-$(CONFIG_SHA256) += sha256.o
31obj-y += strmhz.o
32obj-$(CONFIG_TPM) += tpm.o
33obj-$(CONFIG_RBTREE) += rbtree.o
34obj-$(CONFIG_BITREVERSE) += bitrev.o
Aneesh V05bad4a2011-07-13 05:11:06 +000035endif
36
Matt Porter24de3572012-01-31 12:03:57 +000037ifdef CONFIG_SPL_BUILD
Masahiro Yamada0a1a1572013-10-17 17:35:01 +090038obj-$(CONFIG_SPL_YMODEM_SUPPORT) += crc16.o
39obj-$(CONFIG_SPL_NET_SUPPORT) += net_utils.o
Matt Porter24de3572012-01-31 12:03:57 +000040endif
Masahiro Yamada0a1a1572013-10-17 17:35:01 +090041obj-$(CONFIG_ADDR_MAP) += addr_map.o
42obj-y += hashtable.o
43obj-y += errno.o
44obj-y += display_options.o
45obj-$(CONFIG_BCH) += bch.o
46obj-y += crc32.o
47obj-y += ctype.o
48obj-y += div64.o
49obj-y += hang.o
50obj-y += linux_string.o
51obj-$(CONFIG_REGEX) += slre.o
52obj-y += string.o
53obj-y += time.o
54obj-$(CONFIG_TRACE) += trace.o
55obj-$(CONFIG_BOOTP_PXE) += uuid.o
56obj-y += vsprintf.o
57obj-$(CONFIG_RANDOM_MACADDR) += rand.o
58obj-$(CONFIG_BOOTP_RANDOM_DELAY) += rand.o
59obj-$(CONFIG_CMD_LINK_LOCAL) += rand.o
wdenk87e33a62002-07-20 18:56:22 +000060
Albert ARIBAUDb823fd92012-10-09 09:28:15 +000061# SEE README.arm-unaligned-accesses
62$(obj)bzlib.o: CFLAGS += $(PLATFORM_NO_UNALIGNED)