2002-07-20 18:56:22 +00:00
|
|
|
#
|
2006-09-01 17:49:50 +00:00
|
|
|
# (C) Copyright 2000-2006
|
2002-07-20 18:56:22 +00:00
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2002-07-20 18:56:22 +00:00
|
|
|
#
|
|
|
|
|
2011-07-13 05:11:06 +00:00
|
|
|
ifndef CONFIG_SPL_BUILD
|
2013-11-18 02:17:30 +00:00
|
|
|
|
2015-07-31 15:31:36 +00:00
|
|
|
obj-$(CONFIG_EFI) += efi/
|
2013-11-18 02:17:30 +00:00
|
|
|
obj-$(CONFIG_RSA) += rsa/
|
|
|
|
obj-$(CONFIG_LZMA) += lzma/
|
|
|
|
obj-$(CONFIG_LZO) += lzo/
|
|
|
|
obj-$(CONFIG_ZLIB) += zlib/
|
2014-11-28 02:13:26 +00:00
|
|
|
obj-$(CONFIG_BZIP2) += bzip2/
|
2013-11-18 02:17:30 +00:00
|
|
|
obj-$(CONFIG_TIZEN) += tizen/
|
2014-11-28 02:13:28 +00:00
|
|
|
obj-$(CONFIG_OF_LIBFDT) += libfdt/
|
|
|
|
obj-$(CONFIG_FIT) += libfdt/
|
2015-06-23 21:38:23 +00:00
|
|
|
obj-$(CONFIG_FIT) += libfdt/
|
|
|
|
obj-$(CONFIG_CMD_DHRYSTONE) += dhry/
|
2013-11-18 02:17:30 +00:00
|
|
|
|
2013-10-17 08:35:01 +00:00
|
|
|
obj-$(CONFIG_AES) += aes.o
|
|
|
|
obj-$(CONFIG_USB_TTY) += circbuf.o
|
|
|
|
obj-y += crc7.o
|
2013-11-10 17:26:47 +00:00
|
|
|
obj-y += crc8.o
|
2013-10-17 08:35:01 +00:00
|
|
|
obj-y += crc16.o
|
2015-06-23 21:39:03 +00:00
|
|
|
obj-$(CONFIG_ERRNO_STR) += errno_str.o
|
2014-06-22 04:33:29 +00:00
|
|
|
obj-$(CONFIG_FIT) += fdtdec_common.o
|
2015-08-11 22:31:55 +00:00
|
|
|
obj-$(CONFIG_$(SPL_)OF_CONTROL) += fdtdec_common.o
|
|
|
|
obj-$(CONFIG_$(SPL_)OF_CONTROL) += fdtdec.o
|
2013-10-17 08:35:01 +00:00
|
|
|
obj-$(CONFIG_TEST_FDTDEC) += fdtdec_test.o
|
|
|
|
obj-$(CONFIG_GZIP) += gunzip.o
|
|
|
|
obj-$(CONFIG_GZIP_COMPRESSED) += gzip.o
|
|
|
|
obj-y += initcall.o
|
|
|
|
obj-$(CONFIG_LMB) += lmb.o
|
|
|
|
obj-y += ldiv.o
|
|
|
|
obj-$(CONFIG_MD5) += md5.o
|
|
|
|
obj-y += net_utils.o
|
|
|
|
obj-$(CONFIG_PHYSMEM) += physmem.o
|
|
|
|
obj-y += qsort.o
|
2015-06-23 21:39:07 +00:00
|
|
|
obj-y += rc4.o
|
2013-10-17 08:35:01 +00:00
|
|
|
obj-$(CONFIG_SHA1) += sha1.o
|
2014-04-24 08:30:06 +00:00
|
|
|
obj-$(CONFIG_SUPPORT_EMMC_RPMB) += sha256.o
|
2013-10-17 08:35:01 +00:00
|
|
|
obj-$(CONFIG_SHA256) += sha256.o
|
|
|
|
obj-y += strmhz.o
|
|
|
|
obj-$(CONFIG_TPM) += tpm.o
|
|
|
|
obj-$(CONFIG_RBTREE) += rbtree.o
|
|
|
|
obj-$(CONFIG_BITREVERSE) += bitrev.o
|
2014-06-24 08:10:01 +00:00
|
|
|
obj-y += list_sort.o
|
2011-07-13 05:11:06 +00:00
|
|
|
endif
|
|
|
|
|
2015-08-11 22:31:54 +00:00
|
|
|
ifndef CONFIG_SPL_BUILD
|
|
|
|
obj-$(CONFIG_OF_LIBFDT) += libfdt/
|
|
|
|
endif
|
|
|
|
ifdef CONFIG_SPL_OF_CONTROL
|
2015-02-28 05:06:40 +00:00
|
|
|
obj-$(CONFIG_OF_LIBFDT) += libfdt/
|
|
|
|
endif
|
2015-08-11 22:31:55 +00:00
|
|
|
obj-$(CONFIG_$(SPL_)OF_CONTROL) += fdtdec_common.o
|
|
|
|
obj-$(CONFIG_$(SPL_)OF_CONTROL) += fdtdec.o
|
2015-02-28 05:06:40 +00:00
|
|
|
|
2012-01-31 12:03:57 +00:00
|
|
|
ifdef CONFIG_SPL_BUILD
|
2013-10-17 08:35:01 +00:00
|
|
|
obj-$(CONFIG_SPL_YMODEM_SUPPORT) += crc16.o
|
|
|
|
obj-$(CONFIG_SPL_NET_SUPPORT) += net_utils.o
|
2012-01-31 12:03:57 +00:00
|
|
|
endif
|
2013-10-17 08:35:01 +00:00
|
|
|
obj-$(CONFIG_ADDR_MAP) += addr_map.o
|
|
|
|
obj-y += hashtable.o
|
|
|
|
obj-y += errno.o
|
|
|
|
obj-y += display_options.o
|
|
|
|
obj-$(CONFIG_BCH) += bch.o
|
|
|
|
obj-y += crc32.o
|
|
|
|
obj-y += ctype.o
|
|
|
|
obj-y += div64.o
|
|
|
|
obj-y += hang.o
|
2014-06-24 08:10:03 +00:00
|
|
|
obj-y += linux_compat.o
|
2013-10-17 08:35:01 +00:00
|
|
|
obj-y += linux_string.o
|
|
|
|
obj-$(CONFIG_REGEX) += slre.o
|
|
|
|
obj-y += string.o
|
|
|
|
obj-y += time.o
|
|
|
|
obj-$(CONFIG_TRACE) += trace.o
|
2014-04-02 08:20:04 +00:00
|
|
|
obj-$(CONFIG_LIB_UUID) += uuid.o
|
2013-10-17 08:35:01 +00:00
|
|
|
obj-y += vsprintf.o
|
2014-03-25 09:58:19 +00:00
|
|
|
obj-$(CONFIG_LIB_RAND) += rand.o
|
2014-03-05 07:59:37 +00:00
|
|
|
|
|
|
|
subdir-ccflags-$(CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED) += -O2
|