2010-08-09 20:31:51 +09:00
|
|
|
#
|
|
|
|
# (C) Copyright 2003-2008
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
|
|
|
# (C) Copyright 2008
|
2011-11-01 08:00:39 +09:00
|
|
|
# Stelian Pop <stelian@popies.net>
|
2010-08-09 20:31:51 +09:00
|
|
|
# Lead Tech Design <www.leadtechdesign.com>
|
|
|
|
#
|
2013-07-08 16:37:19 +09:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2010-08-09 20:31:51 +09:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
2010-11-05 23:48:07 +09:00
|
|
|
LIB = $(obj)lib$(BOARD).o
|
2010-08-09 20:31:51 +09:00
|
|
|
|
|
|
|
COBJS-y += jadecpu.o
|
|
|
|
SOBJS := lowlevel_init.o
|
|
|
|
|
|
|
|
SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
|
|
|
|
OBJS := $(addprefix $(obj),$(COBJS-y))
|
|
|
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
|
|
|
|
|
|
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
2010-11-05 23:48:07 +09:00
|
|
|
$(call cmd_link_o_target, $(OBJS) $(SOBJS))
|
2010-08-09 20:31:51 +09:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|