diff options
author | Aneesh V <aneesh@ti.com> | 2011-07-13 05:11:06 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-07-26 14:44:25 +0200 |
commit | 05bad4aa567ccffaac128d9090abde245f8463d1 (patch) | |
tree | a962bdba0ed6f1079b82150abbc722242c1c7f28 /fs/fat/Makefile | |
parent | 5253418a77bb389d9fb272323adb9b7e5e7e99cf (diff) |
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/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
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)) |