2 # (C) Copyright 2002-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # (C) Copyright 2004-2006 Atmel Corporation
7 # SPDX-License-Identifier: GPL-2.0+
10 include $(TOPDIR)/config.mk
12 LIB = $(obj)lib$(ARCH).o
17 COBJS-$(CONFIG_CMD_BOOTM) += bootm.o
18 COBJS-y += interrupts.o
20 SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
21 OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
23 $(LIB): $(obj).depend $(OBJS)
24 $(call cmd_link_o_target, $(OBJS))
26 #########################################################################
28 # defines $(obj).depend target
29 include $(SRCTREE)/rules.mk
31 sinclude $(obj).depend
33 #########################################################################