blob: 5d2e4d162b00e4ac9357a38658c2116f9c9cb0d9 [file] [log] [blame]
Stefan Roese13b4f632012-08-14 15:04:19 +02001#
Wolfgang Denk1a459662013-07-08 09:37:19 +02002# SPDX-License-Identifier: GPL-2.0+
Stefan Roese13b4f632012-08-14 15:04:19 +02003#
4
5include $(TOPDIR)/config.mk
6
7LIB = $(obj)lib$(BOARD).o
8
9COBJS := $(BOARD).o
10
11SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
12OBJS := $(addprefix $(obj),$(COBJS))
13SOBJS := $(addprefix $(obj),$(SOBJS))
14
15$(LIB): $(obj).depend $(OBJS)
16 $(call cmd_link_o_target, $(OBJS))
17
18#########################################################################
19
20# defines $(obj).depend target
21include $(SRCTREE)/rules.mk
22
23sinclude $(obj).depend
24
25#########################################################################