xref: /openbmc/u-boot/board/LaCie/edminiv2/Makefile (revision c0dcece7)
1#
2# Copyright (C) 2010 Albert ARIBAUD <albert.u.boot@aribaud.net>
3#
4# Based on original Kirkwood support which is
5# (C) Copyright 2009
6# Marvell Semiconductor <www.marvell.com>
7# Written-by: Prafulla Wadaskar <prafulla@marvell.com>
8#
9# SPDX-License-Identifier:	GPL-2.0+
10#
11
12include $(TOPDIR)/config.mk
13ifneq ($(OBJTREE),$(SRCTREE))
14$(shell mkdir -p $(obj)../common)
15endif
16
17LIB	= $(obj)lib$(BOARD).o
18
19COBJS	:= edminiv2.o ../common/common.o
20
21SRCS	:= $(COBJS:.o=.c)
22OBJS	:= $(addprefix $(obj),$(COBJS))
23
24$(LIB):	$(obj).depend $(OBJS)
25	$(call cmd_link_o_target, $(OBJS))
26
27#########################################################################
28
29# defines $(obj).depend target
30include $(SRCTREE)/rules.mk
31
32sinclude $(obj).depend
33
34#########################################################################
35