Nobuhiro Iwamatsu | 6c0bbdc | 2007-09-23 02:31:13 +0900 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2007 |
| 3 | # Nobuhiro Iwamatsu <iwamatsu@nigauri.org> |
Wolfgang Denk | 61fb15c5 | 2007-12-27 01:52:50 +0100 | [diff] [blame] | 4 | # |
Nobuhiro Iwamatsu | 6c0bbdc | 2007-09-23 02:31:13 +0900 | [diff] [blame] | 5 | # Copyright (C) 2007 |
| 6 | # Kenati Technologies, Inc. |
| 7 | # |
| 8 | # board/ms7722se/Makefile |
| 9 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame^] | 10 | # SPDX-License-Identifier: GPL-2.0+ |
Nobuhiro Iwamatsu | 6c0bbdc | 2007-09-23 02:31:13 +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 |
Nobuhiro Iwamatsu | 6c0bbdc | 2007-09-23 02:31:13 +0900 | [diff] [blame] | 15 | |
Nobuhiro Iwamatsu | 9e23fe0 | 2008-07-08 12:03:24 +0900 | [diff] [blame] | 16 | COBJS := ms7722se.o |
Nobuhiro Iwamatsu | 6c0bbdc | 2007-09-23 02:31:13 +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 | |
Nobuhiro Iwamatsu | 6c0bbdc | 2007-09-23 02:31:13 +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)) |
Nobuhiro Iwamatsu | 6c0bbdc | 2007-09-23 02:31:13 +0900 | [diff] [blame] | 25 | |
Nobuhiro Iwamatsu | 6c0bbdc | 2007-09-23 02:31:13 +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 |
Nobuhiro Iwamatsu | 6c0bbdc | 2007-09-23 02:31:13 +0900 | [diff] [blame] | 30 | |
Wolfgang Denk | a30cc5a | 2008-07-02 23:38:50 +0200 | [diff] [blame] | 31 | sinclude $(obj).depend |
Nobuhiro Iwamatsu | 6c0bbdc | 2007-09-23 02:31:13 +0900 | [diff] [blame] | 32 | |
| 33 | ######################################################################### |