]> git.ipfire.org Git - people/ms/u-boot.git/blob - fs/fdos/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / fs / fdos / Makefile
1 #
2 # (C) Copyright 2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # (C) Copyright 2002
6 # Stäubli Faverges - <www.staubli.com>
7 # Pierre AUBERT p.aubert@staubli.com
8 #
9 #
10 # SPDX-License-Identifier: GPL-2.0+
11 #
12
13 include $(TOPDIR)/config.mk
14
15 LIB = $(obj)libfdos.o
16
17 AOBJS =
18 COBJS-$(CONFIG_CMD_FDOS) := fat.o vfat.o dev.o fdos.o fs.o subdir.o
19
20 SRCS := $(AOBJS:.o=.S) $(COBJS-y:.o=.c)
21 OBJS := $(addprefix $(obj),$(AOBJS) $(COBJS-y))
22
23 #CPPFLAGS +=
24
25 all: $(LIB) $(AOBJS)
26
27 $(LIB): $(obj).depend $(OBJS)
28 $(call cmd_link_o_target, $(OBJS))
29
30
31 #########################################################################
32
33 # defines $(obj).depend target
34 include $(SRCTREE)/rules.mk
35
36 sinclude $(obj).depend
37
38 #########################################################################