summaryrefslogtreecommitdiffstats
path: root/arch
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 /arch
parent5253418a77bb389d9fb272323adb9b7e5e7e99cf (diff)
downloadblackbird-obmc-uboot-05bad4aa567ccffaac128d9090abde245f8463d1.tar.gz
blackbird-obmc-uboot-05bad4aa567ccffaac128d9090abde245f8463d1.zip
scaled down version of generic libraries for SPL
Signed-off-by: Aneesh V <aneesh@ti.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/lib/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile
index d31321a043..300c8fab2d 100644
--- a/arch/arm/lib/Makefile
+++ b/arch/arm/lib/Makefile
@@ -26,6 +26,7 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(ARCH).o
LIBGCC = $(obj)libgcc.o
+ifndef CONFIG_SPL_BUILD
GLSOBJS += _ashldi3.o
GLSOBJS += _ashrdi3.o
GLSOBJS += _divsi3.o
@@ -45,6 +46,7 @@ COBJS-y += interrupts.o
COBJS-y += reset.o
SOBJS-$(CONFIG_USE_ARCH_MEMSET) += memset.o
SOBJS-$(CONFIG_USE_ARCH_MEMCPY) += memcpy.o
+endif
SRCS := $(GLSOBJS:.o=.S) $(GLCOBJS:.o=.c) \
$(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
OpenPOWER on IntegriCloud