mmc: omap: don't set wrong voltage select for mmc2
[pandora-u-boot.git] / fs / Makefile
index 9ed0f1e..d0ab3ae 100644 (file)
@@ -1,6 +1,7 @@
 #
-# (C) Copyright 2000, 2001
+# (C) Copyright 2000-2006
 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+# Copyright (c) 2012, NVIDIA CORPORATION.  All rights reserved.
 #
 # See file CREDITS for list of people who contributed to this
 # project.
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 # MA 02111-1307 USA
 #
-#
 
-SUBDIRS        := jffs2
+include $(TOPDIR)/config.mk
+
+LIB    = $(obj)libfs.o
+
+COBJS-y                                += fs.o
+
+COBJS  := $(COBJS-y)
+SRCS   := $(COBJS:.o=.c)
+OBJS   := $(addprefix $(obj),$(COBJS))
+
+all:   $(LIB)
+
+$(LIB):        $(obj).depend $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
 
-.depend all:
-       @for dir in $(SUBDIRS) ; do \
-               $(MAKE) -C $$dir $@ ; done
+sinclude $(obj).depend
 
+#########################################################################