xref: /openbmc/u-boot/board/LaCie/edminiv2/Makefile (revision 1a459660)
1ce9c227cSAlbert Aribaud#
257b4bce9SAlbert ARIBAUD# Copyright (C) 2010 Albert ARIBAUD <albert.u.boot@aribaud.net>
3ce9c227cSAlbert Aribaud#
4ce9c227cSAlbert Aribaud# Based on original Kirkwood support which is
5ce9c227cSAlbert Aribaud# (C) Copyright 2009
6ce9c227cSAlbert Aribaud# Marvell Semiconductor <www.marvell.com>
7ce9c227cSAlbert Aribaud# Written-by: Prafulla Wadaskar <prafulla@marvell.com>
8ce9c227cSAlbert Aribaud#
9*1a459660SWolfgang Denk# SPDX-License-Identifier:	GPL-2.0+
10ce9c227cSAlbert Aribaud#
11ce9c227cSAlbert Aribaud
12ce9c227cSAlbert Aribaudinclude $(TOPDIR)/config.mk
1377ea071fSSimon Guinotifneq ($(OBJTREE),$(SRCTREE))
1477ea071fSSimon Guinot$(shell mkdir -p $(obj)../common)
1577ea071fSSimon Guinotendif
16ce9c227cSAlbert Aribaud
176d8962e8SSebastien CarlierLIB	= $(obj)lib$(BOARD).o
18ce9c227cSAlbert Aribaud
1977ea071fSSimon GuinotCOBJS	:= edminiv2.o ../common/common.o
20ce9c227cSAlbert Aribaud
21ce9c227cSAlbert AribaudSRCS	:= $(COBJS:.o=.c)
22ce9c227cSAlbert AribaudOBJS	:= $(addprefix $(obj),$(COBJS))
23ce9c227cSAlbert Aribaud
24ce9c227cSAlbert Aribaud$(LIB):	$(obj).depend $(OBJS)
256d8962e8SSebastien Carlier	$(call cmd_link_o_target, $(OBJS))
26ce9c227cSAlbert Aribaud
27ce9c227cSAlbert Aribaud#########################################################################
28ce9c227cSAlbert Aribaud
29ce9c227cSAlbert Aribaud# defines $(obj).depend target
30ce9c227cSAlbert Aribaudinclude $(SRCTREE)/rules.mk
31ce9c227cSAlbert Aribaud
32ce9c227cSAlbert Aribaudsinclude $(obj).depend
33ce9c227cSAlbert Aribaud
34ce9c227cSAlbert Aribaud#########################################################################
35