From 05bad4aa567ccffaac128d9090abde245f8463d1 Mon Sep 17 00:00:00 2001 From: Aneesh V Date: Wed, 13 Jul 2011 05:11:06 +0000 Subject: scaled down version of generic libraries for SPL Signed-off-by: Aneesh V --- fs/fat/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'fs') diff --git a/fs/fat/Makefile b/fs/fat/Makefile index bc459662ea..93b6f07389 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)) -- cgit v1.2.1