1463ec1caSVladimir Zapolskiy# 2463ec1caSVladimir Zapolskiy# Copyright (C) 2011 by Vladimir Zapolskiy <vz@mleia.com> 3463ec1caSVladimir Zapolskiy# Copyright (C) 2008, Guennadi Liakhovetski <lg@denx.de> 4463ec1caSVladimir Zapolskiy# 5*1a459660SWolfgang Denk# SPDX-License-Identifier: GPL-2.0+ 6463ec1caSVladimir Zapolskiy# 7463ec1caSVladimir Zapolskiy 8463ec1caSVladimir Zapolskiyinclude $(TOPDIR)/config.mk 9463ec1caSVladimir Zapolskiy 10463ec1caSVladimir ZapolskiyLIB = $(obj)lib$(BOARD).o 11463ec1caSVladimir Zapolskiy 12463ec1caSVladimir ZapolskiyCOBJS := devkit3250.o 13463ec1caSVladimir Zapolskiy 14463ec1caSVladimir ZapolskiySRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) 15463ec1caSVladimir ZapolskiyOBJS := $(addprefix $(obj),$(COBJS)) 16463ec1caSVladimir ZapolskiySOBJS := $(addprefix $(obj),$(SOBJS)) 17463ec1caSVladimir Zapolskiy 18463ec1caSVladimir Zapolskiy$(LIB): $(obj).depend $(OBJS) $(SOBJS) 19463ec1caSVladimir Zapolskiy $(call cmd_link_o_target, $(OBJS) $(SOBJS)) 20463ec1caSVladimir Zapolskiy 21463ec1caSVladimir Zapolskiy######################################################################### 22463ec1caSVladimir Zapolskiy 23463ec1caSVladimir Zapolskiy# defines $(obj).depend target 24463ec1caSVladimir Zapolskiyinclude $(SRCTREE)/rules.mk 25463ec1caSVladimir Zapolskiy 26463ec1caSVladimir Zapolskiysinclude $(obj).depend 27463ec1caSVladimir Zapolskiy 28463ec1caSVladimir Zapolskiy######################################################################### 29