lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | # |
| 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 | |
| 9 | include $(TOPDIR)/config.mk |
| 10 | |
| 11 | LIB := $(obj)libfs.o |
| 12 | |
| 13 | |
| 14 | COBJS-y += fs.o |
| 15 | |
| 16 | |
| 17 | COBJS := $(COBJS-y) |
| 18 | SRCS := $(COBJS:.o=.c) |
| 19 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 20 | |
| 21 | all: $(LIB) |
| 22 | |
| 23 | $(LIB): $(obj).depend $(OBJS) |
| 24 | $(call cmd_link_o_target, $(OBJS)) |
| 25 | |
| 26 | ######################################################################### |
| 27 | |
| 28 | # defines $(obj).depend target |
| 29 | include $(SRCTREE)/rules.mk |
| 30 | |
| 31 | sinclude $(obj).depend |
| 32 | |
| 33 | ######################################################################### |