1# 2# (C) Copyright 2000, 2001, 2002 3# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4# 5# Copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net> 6# 7# SPDX-License-Identifier: GPL-2.0+ 8# 9 10include $(TOPDIR)/config.mk 11 12LIB = $(obj)lib$(BOARD).o 13 14COBJS-$(CONFIG_MACH_DAVINCI_DA830_EVM) += da830evm.o 15COBJS-$(CONFIG_MACH_DAVINCI_DA850_EVM) += da850evm.o 16COBJS-$(CONFIG_MACH_DAVINCI_HAWK) += hawkboard.o 17 18COBJS := $(COBJS-y) 19 20SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) 21OBJS := $(addprefix $(obj),$(COBJS)) 22SOBJS := $(addprefix $(obj),$(SOBJS)) 23 24$(LIB): $(obj).depend $(OBJS) $(SOBJS) 25 $(call cmd_link_o_target, $(OBJS) $(SOBJS)) 26 27######################################################################### 28# This is for $(obj).depend target 29include $(SRCTREE)/rules.mk 30 31sinclude $(obj).depend 32 33######################################################################### 34