X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2FMakefile;h=d0ab3aec56ba54b3f095b0ed7d48088a51b393a0;hb=HEAD;hp=95ac0e93fe2ca40e955b4fc844f3f3f9267d0744;hpb=5a7ddf4e1fb9347f783eb1473c30187d7a22bd81;p=pandora-u-boot.git diff --git a/fs/Makefile b/fs/Makefile index 95ac0e93fe..d0ab3aec56 100644 --- a/fs/Makefile +++ b/fs/Makefile @@ -1,6 +1,7 @@ # # (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. @@ -20,10 +21,27 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, # MA 02111-1307 USA # -# -SUBDIRS := jffs2 cramfs fdos fat reiserfs ext2 yaffs2 +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 + +sinclude $(obj).depend -$(obj).depend all: - @for dir in $(SUBDIRS) ; do \ - $(MAKE) -C $$dir $@ ; done +#########################################################################