summaryrefslogtreecommitdiff
path: root/fs/fat/Makefile
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 /fs/fat/Makefile
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 'fs/fat/Makefile')
-rw-r--r--fs/fat/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/fat/Makefile b/fs/fat/Makefile
index bc45966..93b6f07 100644
--- a/fs/fat/Makefile
+++ b/fs/fat/Makefile
@@ -24,7 +24,11 @@ include $(TOPDIR)/config.mk
LIB = $(obj)libfat.o
AOBJS =
-COBJS-$(CONFIG_CMD_FAT) := fat.o file.o
+COBJS-$(CONFIG_CMD_FAT) := fat.o
+
+ifndef CONFIG_SPL_BUILD
+COBJS-$(CONFIG_CMD_FAT) += file.o
+endif
SRCS := $(AOBJS:.o=.S) $(COBJS-y:.o=.c)
OBJS := $(addprefix $(obj),$(AOBJS) $(COBJS-y))