goda.yusuke | c2042f5 | 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 | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 10 | # SPDX-License-Identifier: GPL-2.0+ |
goda.yusuke | c2042f5 | 2008-01-25 20:46:36 +0900 | [diff] [blame] | 11 | |
| 12 | include $(TOPDIR)/config.mk |
| 13 | |
Sebastien Carlier | 6d8962e | 2010-11-05 15:48:07 +0100 | [diff] [blame] | 14 | LIB = $(obj)lib$(BOARD).o |
goda.yusuke | c2042f5 | 2008-01-25 20:46:36 +0900 | [diff] [blame] | 15 | |
Nobuhiro Iwamatsu | 9e23fe0 | 2008-07-08 12:03:24 +0900 | [diff] [blame] | 16 | COBJS := migo_r.o |
goda.yusuke | c2042f5 | 2008-01-25 20:46:36 +0900 | [diff] [blame] | 17 | SOBJS := lowlevel_init.o |
| 18 | |
Wolfgang Denk | a30cc5a | 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 | c2042f5 | 2008-01-25 20:46:36 +0900 | [diff] [blame] | 23 | $(LIB): $(OBJS) $(SOBJS) |
Sebastien Carlier | 6d8962e | 2010-11-05 15:48:07 +0100 | [diff] [blame] | 24 | $(call cmd_link_o_target, $(OBJS) $(SOBJS)) |
goda.yusuke | c2042f5 | 2008-01-25 20:46:36 +0900 | [diff] [blame] | 25 | |
goda.yusuke | c2042f5 | 2008-01-25 20:46:36 +0900 | [diff] [blame] | 26 | ######################################################################### |
| 27 | |
Wolfgang Denk | a30cc5a | 2008-07-02 23:38:50 +0200 | [diff] [blame] | 28 | # defines $(obj).depend target |
| 29 | include $(SRCTREE)/rules.mk |
goda.yusuke | c2042f5 | 2008-01-25 20:46:36 +0900 | [diff] [blame] | 30 | |
Wolfgang Denk | a30cc5a | 2008-07-02 23:38:50 +0200 | [diff] [blame] | 31 | sinclude $(obj).depend |
goda.yusuke | c2042f5 | 2008-01-25 20:46:36 +0900 | [diff] [blame] | 32 | |
| 33 | ######################################################################### |