commit | 55fc5b6a62cc268af05caada73747a96483f9c00 | [log] [tgz] |
---|---|---|
author | Aneesh V <aneesh@ti.com> | Wed Jul 13 05:11:06 2011 +0000 |
committer | Wolfgang Denk <wd@denx.de> | Tue Jul 26 14:44:25 2011 +0200 |
tree | a962bdba0ed6f1079b82150abbc722242c1c7f28 | |
parent | ad35628ea64a305a18664bb77723be8f447412d5 [diff] [blame] |
scaled down version of generic libraries for SPL Signed-off-by: Aneesh V <aneesh@ti.com>
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 @@ 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))