2 # (C) Copyright 2000-2008
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
6 # Bo Shen <voice.shen@atmel.com>
8 # SPDX-License-Identifier: GPL-2.0+
11 include $(TOPDIR)/config.mk
13 LIB = $(obj)lib$(SOC).o
15 COBJS-$(CONFIG_SAMA5D3) += sama5d3_devices.o
21 SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
22 OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
24 all: $(obj).depend $(LIB)
27 $(call cmd_link_o_target, $(OBJS))
29 #########################################################################
31 # defines $(obj).depend target
32 include $(SRCTREE)/rules.mk
34 sinclude $(obj).depend
36 #########################################################################