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