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