2012-08-07 15:43:23 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2003-2008
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
|
|
|
# (C) Copyright 2008
|
|
|
|
# Stelian Pop <stelian@popies.net>
|
|
|
|
# Lead Tech Design <www.leadtechdesign.com>
|
|
|
|
#
|
|
|
|
# (C) Copyright 2012
|
|
|
|
# Markus Hubig <mhubig@imko.de>
|
|
|
|
# IMKO GmbH <www.imko.de>
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2012-08-07 15:43:23 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
|
|
|
LIB = $(obj)lib$(BOARD).o
|
|
|
|
|
|
|
|
COBJS-y += stamp9g20.o
|
|
|
|
COBJS-y += led.o
|
|
|
|
|
|
|
|
SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
|
|
|
|
OBJS := $(addprefix $(obj),$(COBJS-y))
|
|
|
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
|
|
|
|
|
|
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
|
|
|
$(call cmd_link_o_target, $(OBJS) $(SOBJS))
|
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|