]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - fs/reiserfs/Makefile
imported Ka-Ro specific additions to U-Boot 2009.08 for TX28
[karo-tx-uboot.git] / fs / reiserfs / Makefile
index e8711a411a294cac8a64c3ab6a1ae5303dcf6d23..9cef8ee91076723a71b86089a4c60c40fb031952 100755 (executable)
@@ -30,10 +30,10 @@ include $(TOPDIR)/config.mk
 LIB    = $(obj)libreiserfs.a
 
 AOBJS  =
-COBJS  = reiserfs.o dev.o mode_string.o
+COBJS-$(CONFIG_CMD_REISER) := reiserfs.o dev.o mode_string.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 +=