blob: 3a2a8eba0174c24b081817f1804813efc1d4b828 [file] [log] [blame]
Julien May5c374c92008-06-23 13:57:52 +02001#
2# Copyright (C) 2008 Miromico AG
3#
Wolfgang Denk1a459662013-07-08 09:37:19 +02004# SPDX-License-Identifier: GPL-2.0+
Julien May5c374c92008-06-23 13:57:52 +02005
6include $(TOPDIR)/config.mk
7
Sebastien Carlier6d8962e2010-11-05 15:48:07 +01008LIB := $(obj)lib$(BOARD).o
Julien May5c374c92008-06-23 13:57:52 +02009
10COBJS := $(BOARD).o
11
12SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
13OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
14
15$(LIB): $(obj).depend $(OBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010016 $(call cmd_link_o_target, $(OBJS))
Julien May5c374c92008-06-23 13:57:52 +020017
18#########################################################################
19
20# defines $(obj).depend target
21include $(SRCTREE)/rules.mk
22
23sinclude $(obj).depend
24
25#########################################################################