wdenk | 87e33a6 | 2002-07-20 18:56:22 +0000 | [diff] [blame] | 1 | # |
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 2 | # (C) Copyright 2000-2006 |
wdenk | 87e33a6 | 2002-07-20 18:56:22 +0000 | [diff] [blame] | 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | 87e33a6 | 2002-07-20 18:56:22 +0000 | [diff] [blame] | 6 | # |
| 7 | |
Aneesh V | 55fc5b6 | 2011-07-13 05:11:06 +0000 | [diff] [blame] | 8 | ifndef CONFIG_SPL_BUILD |
Masahiro Yamada | 1a96a03 | 2013-11-18 11:17:30 +0900 | [diff] [blame] | 9 | |
| 10 | obj-$(CONFIG_RSA) += rsa/ |
| 11 | obj-$(CONFIG_LZMA) += lzma/ |
| 12 | obj-$(CONFIG_LZO) += lzo/ |
| 13 | obj-$(CONFIG_ZLIB) += zlib/ |
Masahiro Yamada | 423d1b4 | 2014-11-28 11:13:26 +0900 | [diff] [blame] | 14 | obj-$(CONFIG_BZIP2) += bzip2/ |
Masahiro Yamada | 1a96a03 | 2013-11-18 11:17:30 +0900 | [diff] [blame] | 15 | obj-$(CONFIG_TIZEN) += tizen/ |
Masahiro Yamada | 40c945e | 2014-11-28 11:13:28 +0900 | [diff] [blame] | 16 | obj-$(CONFIG_OF_LIBFDT) += libfdt/ |
| 17 | obj-$(CONFIG_FIT) += libfdt/ |
Masahiro Yamada | 1a96a03 | 2013-11-18 11:17:30 +0900 | [diff] [blame] | 18 | |
Masahiro Yamada | f9e50cc | 2013-10-17 17:35:01 +0900 | [diff] [blame] | 19 | obj-$(CONFIG_AES) += aes.o |
Masahiro Yamada | f9e50cc | 2013-10-17 17:35:01 +0900 | [diff] [blame] | 20 | obj-$(CONFIG_USB_TTY) += circbuf.o |
| 21 | obj-y += crc7.o |
Simon Glass | 46e0bc9 | 2013-11-10 10:26:47 -0700 | [diff] [blame] | 22 | obj-y += crc8.o |
Masahiro Yamada | f9e50cc | 2013-10-17 17:35:01 +0900 | [diff] [blame] | 23 | obj-y += crc16.o |
Heiko Schocher | 80bff37 | 2014-06-22 06:33:29 +0200 | [diff] [blame] | 24 | obj-$(CONFIG_FIT) += fdtdec_common.o |
| 25 | obj-$(CONFIG_OF_CONTROL) += fdtdec_common.o |
Masahiro Yamada | f9e50cc | 2013-10-17 17:35:01 +0900 | [diff] [blame] | 26 | obj-$(CONFIG_OF_CONTROL) += fdtdec.o |
| 27 | obj-$(CONFIG_TEST_FDTDEC) += fdtdec_test.o |
| 28 | obj-$(CONFIG_GZIP) += gunzip.o |
| 29 | obj-$(CONFIG_GZIP_COMPRESSED) += gzip.o |
| 30 | obj-y += initcall.o |
| 31 | obj-$(CONFIG_LMB) += lmb.o |
| 32 | obj-y += ldiv.o |
| 33 | obj-$(CONFIG_MD5) += md5.o |
| 34 | obj-y += net_utils.o |
| 35 | obj-$(CONFIG_PHYSMEM) += physmem.o |
| 36 | obj-y += qsort.o |
| 37 | obj-$(CONFIG_SHA1) += sha1.o |
Pierre Aubert | 343cd9f | 2014-04-24 10:30:06 +0200 | [diff] [blame] | 38 | obj-$(CONFIG_SUPPORT_EMMC_RPMB) += sha256.o |
Masahiro Yamada | f9e50cc | 2013-10-17 17:35:01 +0900 | [diff] [blame] | 39 | obj-$(CONFIG_SHA256) += sha256.o |
| 40 | obj-y += strmhz.o |
| 41 | obj-$(CONFIG_TPM) += tpm.o |
| 42 | obj-$(CONFIG_RBTREE) += rbtree.o |
| 43 | obj-$(CONFIG_BITREVERSE) += bitrev.o |
Heiko Schocher | 762320b | 2014-06-24 10:10:01 +0200 | [diff] [blame] | 44 | obj-y += list_sort.o |
Aneesh V | 55fc5b6 | 2011-07-13 05:11:06 +0000 | [diff] [blame] | 45 | endif |
| 46 | |
Matt Porter | 79bfa73 | 2012-01-31 12:03:57 +0000 | [diff] [blame] | 47 | ifdef CONFIG_SPL_BUILD |
Masahiro Yamada | f9e50cc | 2013-10-17 17:35:01 +0900 | [diff] [blame] | 48 | obj-$(CONFIG_SPL_YMODEM_SUPPORT) += crc16.o |
| 49 | obj-$(CONFIG_SPL_NET_SUPPORT) += net_utils.o |
Matt Porter | 79bfa73 | 2012-01-31 12:03:57 +0000 | [diff] [blame] | 50 | endif |
Masahiro Yamada | f9e50cc | 2013-10-17 17:35:01 +0900 | [diff] [blame] | 51 | obj-$(CONFIG_ADDR_MAP) += addr_map.o |
| 52 | obj-y += hashtable.o |
| 53 | obj-y += errno.o |
Przemyslaw Marczak | 87e3161 | 2014-10-08 22:48:37 +0200 | [diff] [blame] | 54 | obj-$(CONFIG_ERRNO_STR) += errno_str.o |
Masahiro Yamada | f9e50cc | 2013-10-17 17:35:01 +0900 | [diff] [blame] | 55 | obj-y += display_options.o |
| 56 | obj-$(CONFIG_BCH) += bch.o |
| 57 | obj-y += crc32.o |
| 58 | obj-y += ctype.o |
| 59 | obj-y += div64.o |
| 60 | obj-y += hang.o |
Heiko Schocher | 4f7a9a3 | 2014-06-24 10:10:03 +0200 | [diff] [blame] | 61 | obj-y += linux_compat.o |
Masahiro Yamada | f9e50cc | 2013-10-17 17:35:01 +0900 | [diff] [blame] | 62 | obj-y += linux_string.o |
| 63 | obj-$(CONFIG_REGEX) += slre.o |
| 64 | obj-y += string.o |
| 65 | obj-y += time.o |
| 66 | obj-$(CONFIG_TRACE) += trace.o |
Przemyslaw Marczak | b428514 | 2014-04-02 10:20:04 +0200 | [diff] [blame] | 67 | obj-$(CONFIG_LIB_UUID) += uuid.o |
Masahiro Yamada | f9e50cc | 2013-10-17 17:35:01 +0900 | [diff] [blame] | 68 | obj-y += vsprintf.o |
Przemyslaw Marczak | cd9c268 | 2014-03-25 10:58:19 +0100 | [diff] [blame] | 69 | obj-$(CONFIG_LIB_RAND) += rand.o |
Masahiro Yamada | b564aed | 2014-03-05 16:59:37 +0900 | [diff] [blame] | 70 | |
| 71 | subdir-ccflags-$(CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED) += -O2 |