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$(BOARD).o
12 OBJS = $(BOARD).o ide.o hwctl.o avr.o
14 SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
15 OBJS := $(addprefix $(obj),$(OBJS))
17 $(LIB): $(obj).depend $(OBJS)
18 $(call cmd_link_o_target, $(OBJS))
20 #########################################################################
22 # defines $(obj).depend target
23 include $(SRCTREE)/rules.mk
25 sinclude $(obj).depend
27 #########################################################################