diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-08-31 04:24:56 +0200 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-08-31 04:24:56 +0200 |
commit | 08ab4e1780fa63c88dd5a5ab52f4ff4ed1ee1878 (patch) | |
tree | 0b8d061f6fd4b7ad68b94e509e644e5456a44613 /fs/fdos/Makefile | |
parent | c1de7a6daf9c657484e1c6d433f01fccd49a7f48 (diff) | |
download | u-boot-imx-08ab4e1780fa63c88dd5a5ab52f4ff4ed1ee1878.zip u-boot-imx-08ab4e1780fa63c88dd5a5ab52f4ff4ed1ee1878.tar.gz u-boot-imx-08ab4e1780fa63c88dd5a5ab52f4ff4ed1ee1878.tar.bz2 |
fs: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'fs/fdos/Makefile')
-rw-r--r-- | fs/fdos/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/fdos/Makefile b/fs/fdos/Makefile index 2dba0fb..fce2032 100644 --- a/fs/fdos/Makefile +++ b/fs/fdos/Makefile @@ -31,10 +31,10 @@ include $(TOPDIR)/config.mk LIB = $(obj)libfdos.a AOBJS = -COBJS = fat.o vfat.o dev.o fdos.o fs.o subdir.o +COBJS-$(CONFIG_CMD_FDOS) := fat.o vfat.o dev.o fdos.o fs.o subdir.o -SRCS := $(AOBJS:.o=.S) $(COBJS:.o=.c) -OBJS := $(addprefix $(obj),$(AOBJS) $(COBJS)) +SRCS := $(AOBJS:.o=.S) $(COBJS-y:.o=.c) +OBJS := $(addprefix $(obj),$(AOBJS) $(COBJS-y)) #CPPFLAGS += |