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
|
|
|
|
|
|
|
|
ifneq ($(OBJTREE),$(SRCTREE))
|
|
|
|
$(shell mkdir -p $(obj)board/$(VENDOR)/common)
|
|
|
|
endif
|
|
|
|
|
2010-11-05 14:48:07 +00:00
|
|
|
LIB = $(obj)lib$(VENDOR).o
|
2010-10-21 08:50:05 +00:00
|
|
|
|
|
|
|
COBJS-$(CONFIG_IO) += miiphybb.o
|
2011-10-20 09:12:55 +00:00
|
|
|
COBJS-$(CONFIG_IO64) += miiphybb.o
|
2010-10-21 08:50:05 +00:00
|
|
|
COBJS-$(CONFIG_IOCON) += osd.o
|
2011-01-21 08:31:21 +00:00
|
|
|
COBJS-$(CONFIG_DLVISION_10G) += osd.o
|
2013-06-26 13:55:17 +00:00
|
|
|
COBJS-$(CONFIG_CONTROLCENTERD) += dp501.o
|
2010-10-21 08:50:05 +00:00
|
|
|
|
|
|
|
COBJS := $(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
|
|
|
|
|
|
|
|
#########################################################################
|