Yoshihiro Shimoda | dad925c | 2007-12-03 22:58:50 +0900 | [diff] [blame] | 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 | # board/ms7720se/Makefile |
| 12 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame^] | 13 | # SPDX-License-Identifier: GPL-2.0+ |
Yoshihiro Shimoda | dad925c | 2007-12-03 22:58:50 +0900 | [diff] [blame] | 14 | |
| 15 | include $(TOPDIR)/config.mk |
| 16 | |
Sebastien Carlier | a8d426f | 2010-11-05 15:48:07 +0100 | [diff] [blame] | 17 | LIB = $(obj)lib$(BOARD).o |
Yoshihiro Shimoda | dad925c | 2007-12-03 22:58:50 +0900 | [diff] [blame] | 18 | |
Nobuhiro Iwamatsu | 0121325 | 2008-07-08 12:03:24 +0900 | [diff] [blame] | 19 | COBJS := ms7720se.o |
Yoshihiro Shimoda | dad925c | 2007-12-03 22:58:50 +0900 | [diff] [blame] | 20 | SOBJS := lowlevel_init.o |
| 21 | |
Wolfgang Denk | 102740d | 2008-07-02 23:38:50 +0200 | [diff] [blame] | 22 | SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) |
| 23 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 24 | SOBJS := $(addprefix $(obj),$(SOBJS)) |
| 25 | |
Yoshihiro Shimoda | dad925c | 2007-12-03 22:58:50 +0900 | [diff] [blame] | 26 | $(LIB): $(OBJS) $(SOBJS) |
Sebastien Carlier | a8d426f | 2010-11-05 15:48:07 +0100 | [diff] [blame] | 27 | $(call cmd_link_o_target, $(OBJS) $(SOBJS)) |
Yoshihiro Shimoda | dad925c | 2007-12-03 22:58:50 +0900 | [diff] [blame] | 28 | |
Yoshihiro Shimoda | dad925c | 2007-12-03 22:58:50 +0900 | [diff] [blame] | 29 | ######################################################################### |
| 30 | |
Wolfgang Denk | 102740d | 2008-07-02 23:38:50 +0200 | [diff] [blame] | 31 | # defines $(obj).depend target |
| 32 | include $(SRCTREE)/rules.mk |
Yoshihiro Shimoda | dad925c | 2007-12-03 22:58:50 +0900 | [diff] [blame] | 33 | |
Wolfgang Denk | 102740d | 2008-07-02 23:38:50 +0200 | [diff] [blame] | 34 | sinclude $(obj).depend |
Yoshihiro Shimoda | dad925c | 2007-12-03 22:58:50 +0900 | [diff] [blame] | 35 | |
| 36 | ######################################################################### |