]>
Commit | Line | Data |
---|---|---|
045fa1e1 SW |
1 | # |
2 | # (C) Copyright 2000-2006 | |
3 | # Wolfgang Denk, DENX Software Engineering, [email protected]. | |
4 | # Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. | |
5 | # | |
1a459660 | 6 | # SPDX-License-Identifier: GPL-2.0+ |
045fa1e1 SW |
7 | # |
8 | ||
9 | include $(TOPDIR)/config.mk | |
10 | ||
11 | LIB = $(obj)libfs.o | |
12 | ||
13 | COBJS-y += fs.o | |
14 | ||
15 | COBJS := $(COBJS-y) | |
16 | SRCS := $(COBJS:.o=.c) | |
17 | OBJS := $(addprefix $(obj),$(COBJS)) | |
18 | ||
19 | all: $(LIB) | |
20 | ||
21 | $(LIB): $(obj).depend $(OBJS) | |
22 | $(call cmd_link_o_target, $(OBJS)) | |
23 | ||
24 | ######################################################################### | |
25 | ||
26 | # defines $(obj).depend target | |
27 | include $(SRCTREE)/rules.mk | |
28 | ||
29 | sinclude $(obj).depend | |
30 | ||
31 | ######################################################################### |