4 # Copyright (c) 2005-2008 Analog Device Inc.
6 # (C) Copyright 2000-2006
7 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
9 # SPDX-License-Identifier: GPL-2.0+
12 include $(TOPDIR)/config.mk
14 LIB = $(obj)lib$(BOARD).o
17 COBJS-$(CONFIG_STAMP_CF) += ide-cf.o
18 COBJS-$(CONFIG_VIDEO) += video.o
20 SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
21 OBJS := $(addprefix $(obj),$(COBJS-y))
22 SOBJS := $(addprefix $(obj),$(SOBJS-y))
24 $(LIB): $(obj).depend $(OBJS) $(SOBJS)
25 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
27 #########################################################################
29 # defines $(obj).depend target
30 include $(SRCTREE)/rules.mk
32 sinclude $(obj).depend
34 #########################################################################