xref: /openbmc/u-boot/board/mpr2/Makefile (revision 3765b3e7)
1#
2# Copyright (C) 2007
3# Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
4#
5# Copyright (C) 2007
6# Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7#
8# Copyright (C) 2007
9# Kenati Technologies, Inc.
10#
11# (C) Copyright 2008
12# Mark Jonas <mark.jonas@de.bosch.com>
13#
14# board/mpr2/Makefile
15#
16# SPDX-License-Identifier:	GPL-2.0+
17
18include $(TOPDIR)/config.mk
19
20LIB	= $(obj)lib$(BOARD).o
21
22COBJS	:= mpr2.o
23SOBJS	:= lowlevel_init.o
24
25SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
26OBJS	:= $(addprefix $(obj),$(COBJS))
27SOBJS	:= $(addprefix $(obj),$(SOBJS))
28
29$(LIB):	$(OBJS) $(SOBJS)
30	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
31
32#########################################################################
33
34# defines $(obj).depend target
35include $(SRCTREE)/rules.mk
36
37sinclude $(obj).depend
38
39#########################################################################
40