blob: 7e753e9dd20bc71ad94817d5eb58a2a43bd25e32 [file] [log] [blame]
Stephen Warren045fa1e2012-10-22 06:43:51 +00001#
2# (C) Copyright 2000-2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4# Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
5#
Wolfgang Denk1a459662013-07-08 09:37:19 +02006# SPDX-License-Identifier: GPL-2.0+
Stephen Warren045fa1e2012-10-22 06:43:51 +00007#
8
9include $(TOPDIR)/config.mk
10
11LIB = $(obj)libfs.o
12
13COBJS-y += fs.o
14
15COBJS := $(COBJS-y)
16SRCS := $(COBJS:.o=.c)
17OBJS := $(addprefix $(obj),$(COBJS))
18
19all: $(LIB)
20
21$(LIB): $(obj).depend $(OBJS)
22 $(call cmd_link_o_target, $(OBJS))
23
24#########################################################################
25
26# defines $(obj).depend target
27include $(SRCTREE)/rules.mk
28
29sinclude $(obj).depend
30
31#########################################################################