]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - fs/ext2/Makefile
imported Ka-Ro specific additions to U-Boot 2009.08 for TX28
[karo-tx-uboot.git] / fs / ext2 / Makefile
index 8313cdc17c2d7d9b8418038d375b2c0e5e678b73..712e348395bed3108fbc75cdff78e04b169b842b 100755 (executable)
@@ -30,10 +30,10 @@ include $(TOPDIR)/config.mk
 LIB    = $(obj)libext2fs.a
 
 AOBJS  =
-COBJS  = ext2fs.o dev.o
+COBJS-$(CONFIG_CMD_EXT2) := ext2fs.o dev.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 +=