2 # (C) Copyright 2000-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
7 # Philippe Robin, <philippe.robin@arm.com>
9 # SPDX-License-Identifier: GPL-2.0+
12 include $(TOPDIR)/config.mk
14 LIB = $(obj)lib$(BOARD).o
16 SOBJS-y := lowlevel_init.o
18 COBJS-y := integrator.o
19 COBJS-$(CONFIG_PCI) += pci.o
22 SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
23 COBJS := $(addprefix $(obj),$(COBJS-y))
24 SOBJS := $(addprefix $(obj),$(SOBJS-y))
26 $(LIB): $(obj).depend $(COBJS) $(SOBJS)
27 $(call cmd_link_o_target, $(COBJS) $(SOBJS))
29 #########################################################################
31 # defines $(obj).depend target
32 include $(SRCTREE)/rules.mk
34 sinclude $(obj).depend
36 #########################################################################