summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAneesh V <aneesh@ti.com>2011-07-13 05:11:06 +0000
committerWolfgang Denk <wd@denx.de>2011-07-26 14:44:25 +0200
commit05bad4aa567ccffaac128d9090abde245f8463d1 (patch)
treea962bdba0ed6f1079b82150abbc722242c1c7f28 /common
parent5253418a77bb389d9fb272323adb9b7e5e7e99cf (diff)
downloadu-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 'common')
-rw-r--r--common/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/common/Makefile b/common/Makefile
index 224b7cc..124a427 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -26,17 +26,15 @@ include $(TOPDIR)/config.mk
LIB = $(obj)libcommon.o
# core
+ifndef CONFIG_SPL_BUILD
COBJS-y += main.o
-COBJS-y += console.o
COBJS-y += command.o
COBJS-y += dlmalloc.o
COBJS-y += exports.o
COBJS-$(CONFIG_SYS_HUSH_PARSER) += hush.o
COBJS-y += image.o
-COBJS-y += memsize.o
COBJS-y += s_record.o
COBJS-$(CONFIG_SERIAL_MULTI) += serial.o
-COBJS-y += stdio.o
COBJS-y += xyzModem.o
# core command
@@ -173,6 +171,11 @@ COBJS-$(CONFIG_LYNXKDI) += lynxkdi.o
COBJS-$(CONFIG_MODEM_SUPPORT) += modem.o
COBJS-$(CONFIG_UPDATE_TFTP) += update.o
COBJS-$(CONFIG_USB_KEYBOARD) += usb_kbd.o
+endif
+
+COBJS-y += console.o
+COBJS-y += memsize.o
+COBJS-y += stdio.o
COBJS := $(sort $(COBJS-y))