2002-11-18 00:14:45 +00:00
|
|
|
#
|
2006-09-01 17:49:50 +00:00
|
|
|
# (C) Copyright 2006
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2002-11-18 00:14:45 +00:00
|
|
|
# (C) Copyright 2002
|
2011-08-04 16:45:45 +00:00
|
|
|
# Stäubli Faverges - <www.staubli.com>
|
2002-11-18 00:14:45 +00:00
|
|
|
# Pierre AUBERT p.aubert@staubli.com
|
|
|
|
#
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2002-11-18 00:14:45 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
2010-11-05 14:48:07 +00:00
|
|
|
LIB = $(obj)libfdos.o
|
2002-11-18 00:14:45 +00:00
|
|
|
|
|
|
|
AOBJS =
|
2008-08-31 02:24:56 +00:00
|
|
|
COBJS-$(CONFIG_CMD_FDOS) := fat.o vfat.o dev.o fdos.o fs.o subdir.o
|
2006-09-01 17:49:50 +00:00
|
|
|
|
2008-08-31 02:24:56 +00:00
|
|
|
SRCS := $(AOBJS:.o=.S) $(COBJS-y:.o=.c)
|
|
|
|
OBJS := $(addprefix $(obj),$(AOBJS) $(COBJS-y))
|
2002-11-18 00:14:45 +00:00
|
|
|
|
|
|
|
#CPPFLAGS +=
|
|
|
|
|
|
|
|
all: $(LIB) $(AOBJS)
|
|
|
|
|
2006-09-01 17:49:50 +00:00
|
|
|
$(LIB): $(obj).depend $(OBJS)
|
2010-11-05 14:48:07 +00:00
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
2002-11-18 00:14:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
2006-09-01 17:49:50 +00:00
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
2002-11-18 00:14:45 +00:00
|
|
|
|
2006-09-01 17:49:50 +00:00
|
|
|
sinclude $(obj).depend
|
2002-11-18 00:14:45 +00:00
|
|
|
|
|
|
|
#########################################################################
|