1# 2# (C) Copyright 2000-2006 3# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4# 5# (C) Copyright 2004 6# ARM Ltd. 7# Philippe Robin, <philippe.robin@arm.com> 8# 9# SPDX-License-Identifier: GPL-2.0+ 10# 11 12include $(TOPDIR)/config.mk 13 14LIB = $(obj)lib$(BOARD).o 15 16SOBJS-y := lowlevel_init.o 17 18COBJS-y := integrator.o 19COBJS-$(CONFIG_PCI) += pci.o 20COBJS-y += timer.o 21 22SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) 23COBJS := $(addprefix $(obj),$(COBJS-y)) 24SOBJS := $(addprefix $(obj),$(SOBJS-y)) 25 26$(LIB): $(obj).depend $(COBJS) $(SOBJS) 27 $(call cmd_link_o_target, $(COBJS) $(SOBJS)) 28 29######################################################################### 30 31# defines $(obj).depend target 32include $(SRCTREE)/rules.mk 33 34sinclude $(obj).depend 35 36######################################################################### 37