diff options
author | Aneesh V <aneesh@ti.com> | 2011-07-13 05:11:06 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-07-26 14:44:25 +0200 |
commit | 05bad4aa567ccffaac128d9090abde245f8463d1 (patch) | |
tree | a962bdba0ed6f1079b82150abbc722242c1c7f28 /lib/Makefile | |
parent | 5253418a77bb389d9fb272323adb9b7e5e7e99cf (diff) | |
download | u-boot-imx-05bad4aa567ccffaac128d9090abde245f8463d1.zip u-boot-imx-05bad4aa567ccffaac128d9090abde245f8463d1.tar.gz u-boot-imx-05bad4aa567ccffaac128d9090abde245f8463d1.tar.bz2 |
scaled down version of generic libraries for SPL
Signed-off-by: Aneesh V <aneesh@ti.com>
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/Makefile b/lib/Makefile index afa6914..884f64c 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -25,6 +25,7 @@ include $(TOPDIR)/config.mk LIB = $(obj)libgeneric.o +ifndef CONFIG_SPL_BUILD COBJS-$(CONFIG_ADDR_MAP) += addr_map.o COBJS-$(CONFIG_BZIP2) += bzlib.o COBJS-$(CONFIG_BZIP2) += bzlib_crctable.o @@ -35,9 +36,7 @@ COBJS-$(CONFIG_USB_TTY) += circbuf.o COBJS-y += crc7.o COBJS-y += crc16.o COBJS-y += crc32.o -COBJS-y += ctype.o COBJS-y += display_options.o -COBJS-y += div64.o COBJS-y += errno.o COBJS-$(CONFIG_GZIP) += gunzip.o COBJS-y += hashtable.o @@ -48,11 +47,15 @@ COBJS-y += net_utils.o COBJS-y += qsort.o COBJS-$(CONFIG_SHA1) += sha1.o COBJS-$(CONFIG_SHA256) += sha256.o -COBJS-y += string.o COBJS-y += strmhz.o +COBJS-$(CONFIG_RBTREE) += rbtree.o +endif + +COBJS-y += ctype.o +COBJS-y += div64.o +COBJS-y += string.o COBJS-y += time.o COBJS-y += vsprintf.o -COBJS-$(CONFIG_RBTREE) += rbtree.o COBJS := $(COBJS-y) SRCS := $(COBJS:.o=.c) |