2010-10-21 08:50:05 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2007
|
|
|
|
# Stefan Roese, DENX Software Engineering, sr@denx.de.
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2010-10-21 08:50:05 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
2010-11-05 14:48:07 +00:00
|
|
|
LIB = $(obj)lib$(BOARD).o
|
2010-10-21 08:50:05 +00:00
|
|
|
|
2012-04-26 03:54:22 +00:00
|
|
|
COBJS-$(CONFIG_NEO) += neo.o
|
2010-10-21 08:50:05 +00:00
|
|
|
COBJS-$(CONFIG_IO) += io.o
|
|
|
|
COBJS-$(CONFIG_IOCON) += iocon.o
|
2011-01-21 08:31:21 +00:00
|
|
|
COBJS-$(CONFIG_DLVISION_10G) += dlvision-10g.o
|
2010-10-21 08:50:05 +00:00
|
|
|
|
|
|
|
COBJS := $(BOARD).o $(COBJS-y)
|
|
|
|
SOBJS =
|
|
|
|
|
|
|
|
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
|
|
|
OBJS := $(addprefix $(obj),$(COBJS))
|
|
|
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
|
|
|
|
|
|
|
$(LIB): $(OBJS) $(SOBJS)
|
2010-11-05 14:48:07 +00:00
|
|
|
$(call cmd_link_o_target, $(OBJS) $(SOBJS))
|
2010-10-21 08:50:05 +00:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|