goda.yusuke | fd76807 | 2008-01-25 20:46:36 +0900 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2007 |
| 3 | # Nobuhiro Iwamatsu <iwamatsu@nigauri.org> |
| 4 | # |
| 5 | # Copyright (C) 2007 |
| 6 | # Kenati Technologies, Inc. |
| 7 | # |
| 8 | # board/MigoR/Makefile |
| 9 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame^] | 10 | # SPDX-License-Identifier: GPL-2.0+ |
goda.yusuke | fd76807 | 2008-01-25 20:46:36 +0900 | [diff] [blame] | 11 | |
| 12 | include $(TOPDIR)/config.mk |
| 13 | |
Sebastien Carlier | a8d426f | 2010-11-05 15:48:07 +0100 | [diff] [blame] | 14 | LIB = $(obj)lib$(BOARD).o |
goda.yusuke | fd76807 | 2008-01-25 20:46:36 +0900 | [diff] [blame] | 15 | |
Nobuhiro Iwamatsu | 0121325 | 2008-07-08 12:03:24 +0900 | [diff] [blame] | 16 | COBJS := migo_r.o |
goda.yusuke | fd76807 | 2008-01-25 20:46:36 +0900 | [diff] [blame] | 17 | SOBJS := lowlevel_init.o |
| 18 | |
Wolfgang Denk | 102740d | 2008-07-02 23:38:50 +0200 | [diff] [blame] | 19 | SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) |
| 20 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 21 | SOBJS := $(addprefix $(obj),$(SOBJS)) |
| 22 | |
goda.yusuke | fd76807 | 2008-01-25 20:46:36 +0900 | [diff] [blame] | 23 | $(LIB): $(OBJS) $(SOBJS) |
Sebastien Carlier | a8d426f | 2010-11-05 15:48:07 +0100 | [diff] [blame] | 24 | $(call cmd_link_o_target, $(OBJS) $(SOBJS)) |
goda.yusuke | fd76807 | 2008-01-25 20:46:36 +0900 | [diff] [blame] | 25 | |
goda.yusuke | fd76807 | 2008-01-25 20:46:36 +0900 | [diff] [blame] | 26 | ######################################################################### |
| 27 | |
Wolfgang Denk | 102740d | 2008-07-02 23:38:50 +0200 | [diff] [blame] | 28 | # defines $(obj).depend target |
| 29 | include $(SRCTREE)/rules.mk |
goda.yusuke | fd76807 | 2008-01-25 20:46:36 +0900 | [diff] [blame] | 30 | |
Wolfgang Denk | 102740d | 2008-07-02 23:38:50 +0200 | [diff] [blame] | 31 | sinclude $(obj).depend |
goda.yusuke | fd76807 | 2008-01-25 20:46:36 +0900 | [diff] [blame] | 32 | |
| 33 | ######################################################################### |