blob: c95ac12f4dd79ca97d42d814a1aa51812e6390c7 [file] [log] [blame]
Yusuke Godacf236022008-03-11 12:55:12 +09001#
2# Copyright (C) 2007,2008 Nobuhiro Iwamatsu
3#
4# board/r7780mp/Makefile
5#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02006# SPDX-License-Identifier: GPL-2.0+
Yusuke Godacf236022008-03-11 12:55:12 +09007
8include $(TOPDIR)/config.mk
9
Sebastien Carliera8d426f2010-11-05 15:48:07 +010010LIB = $(obj)lib$(BOARD).o
Yusuke Godacf236022008-03-11 12:55:12 +090011
Nobuhiro Iwamatsu01213252008-07-08 12:03:24 +090012COBJS := r7780mp.o
Yusuke Godacf236022008-03-11 12:55:12 +090013SOBJS := lowlevel_init.o
14
Wolfgang Denk102740d2008-07-02 23:38:50 +020015SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
16OBJS := $(addprefix $(obj),$(COBJS))
17SOBJS := $(addprefix $(obj),$(SOBJS))
18
Yusuke Godacf236022008-03-11 12:55:12 +090019$(LIB): $(OBJS) $(SOBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010020 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
Yusuke Godacf236022008-03-11 12:55:12 +090021
Yusuke Godacf236022008-03-11 12:55:12 +090022#########################################################################
23
Wolfgang Denk102740d2008-07-02 23:38:50 +020024# defines $(obj).depend target
25include $(SRCTREE)/rules.mk
Yusuke Godacf236022008-03-11 12:55:12 +090026
Wolfgang Denk102740d2008-07-02 23:38:50 +020027sinclude $(obj).depend
Yusuke Godacf236022008-03-11 12:55:12 +090028
29#########################################################################