2 # (C) Copyright 2000-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # SPDX-License-Identifier: GPL-2.0+
8 include $(TOPDIR)/config.mk
10 LIB = $(obj)lib$(SOC).o
12 COBJS-$(CONFIG_USE_IRQ) += interrupts.o
13 COBJS-$(CONFIG_DISPLAY_CPUINFO) += cpu_info.o
17 SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
18 OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS-y))
20 all: $(obj).depend $(LIB)
23 $(call cmd_link_o_target, $(OBJS))
25 #########################################################################
27 # defines $(obj).depend target
28 include $(SRCTREE)/rules.mk
30 sinclude $(obj).depend
32 #########################################################################