blob: 03917463bc393dbbaaba6aabf62651d5866a2c17 [file] [log] [blame]
roy zang27801b82006-11-02 18:57:21 +08001#
2# (C) Copyright 2000
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
roy zang27801b82006-11-02 18:57:21 +08006#
7
8include $(TOPDIR)/config.mk
9
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010010LIB = $(obj)lib$(BOARD).o
roy zang27801b82006-11-02 18:57:21 +080011
roy zangee311212006-12-01 11:47:36 +080012COBJS := $(BOARD).o tsi108_init.o
13SOBJS := asm_init.o
roy zang27801b82006-11-02 18:57:21 +080014
roy zangee311212006-12-01 11:47:36 +080015SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
16OBJS := $(addprefix $(obj),$(COBJS))
17SOBJS := $(addprefix $(obj),$(SOBJS))
roy zang27801b82006-11-02 18:57:21 +080018
roy zangee311212006-12-01 11:47:36 +080019$(LIB): $(obj).depend $(OBJS) $(SOBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010020 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
roy zang27801b82006-11-02 18:57:21 +080021
roy zang27801b82006-11-02 18:57:21 +080022#########################################################################
23
roy zangee311212006-12-01 11:47:36 +080024# defines $(obj).depend target
25include $(SRCTREE)/rules.mk
roy zang27801b82006-11-02 18:57:21 +080026
roy zangee311212006-12-01 11:47:36 +080027sinclude ($obj).depend
roy zang27801b82006-11-02 18:57:21 +080028
29#########################################################################