blob: d0d2add835ff855efcee5d0fd5e5cdde802ceb2c [file] [log] [blame]
Gabriel Huauc4824ff2012-05-02 10:48:37 +00001#
2# (C) Copyright 2012
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Gabriel Huauc4824ff2012-05-02 10:48:37 +00006#
7
8include $(TOPDIR)/config.mk
9
10LIB = $(obj)lib$(BOARD).o
11
12COBJS := mini2440.o
13
14SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
15OBJS := $(addprefix $(obj),$(COBJS))
16SOBJS := $(addprefix $(obj),$(SOBJS))
17
18$(LIB): $(obj).depend $(OBJS) $(SOBJS)
19 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
20
21#########################################################################
22
23# defines $(obj).depend target
24include $(SRCTREE)/rules.mk
25
26sinclude $(obj).depend
27
28#########################################################################