2004-03-15 00:06:13 +09:00
|
|
|
#
|
2006-09-02 02:49:50 +09:00
|
|
|
# (C) Copyright 2000-2006
|
2004-03-15 00:06:13 +09:00
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
|
|
|
# (C) Copyright 2004
|
|
|
|
# ARM Ltd.
|
|
|
|
# Philippe Robin, <philippe.robin@arm.com>
|
|
|
|
#
|
2013-07-08 16:37:19 +09:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2004-03-15 00:06:13 +09:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
2010-11-05 23:48:07 +09:00
|
|
|
LIB = $(obj)lib$(BOARD).o
|
2004-03-15 00:06:13 +09:00
|
|
|
|
2009-05-17 07:58:36 +09:00
|
|
|
SOBJS-y := lowlevel_init.o
|
2004-03-15 00:06:13 +09:00
|
|
|
|
2009-05-17 07:58:37 +09:00
|
|
|
COBJS-y := integrator.o
|
2009-05-17 07:58:36 +09:00
|
|
|
COBJS-$(CONFIG_PCI) += pci.o
|
2009-05-17 07:58:36 +09:00
|
|
|
COBJS-y += timer.o
|
2006-09-02 02:49:50 +09:00
|
|
|
|
2009-05-17 07:58:36 +09:00
|
|
|
SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
|
|
|
|
COBJS := $(addprefix $(obj),$(COBJS-y))
|
|
|
|
SOBJS := $(addprefix $(obj),$(SOBJS-y))
|
|
|
|
|
|
|
|
$(LIB): $(obj).depend $(COBJS) $(SOBJS)
|
2010-11-05 23:48:07 +09:00
|
|
|
$(call cmd_link_o_target, $(COBJS) $(SOBJS))
|
2004-03-15 00:06:13 +09:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
2006-09-02 02:49:50 +09:00
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
2004-03-15 00:06:13 +09:00
|
|
|
|
2006-09-02 02:49:50 +09:00
|
|
|
sinclude $(obj).depend
|
2004-03-15 00:06:13 +09:00
|
|
|
|
|
|
|
#########################################################################
|