blob: e73ceb284f19d68abd7e738e45ecda459e92cc80 [file] [log] [blame]
Nobuhiro Iwamatsu6c0bbdc2007-09-23 02:31:13 +09001#
2# Copyright (C) 2007
3# Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Wolfgang Denk61fb15c52007-12-27 01:52:50 +01004#
Nobuhiro Iwamatsu6c0bbdc2007-09-23 02:31:13 +09005# Copyright (C) 2007
6# Kenati Technologies, Inc.
7#
8# board/ms7722se/Makefile
9#
Wolfgang Denk1a459662013-07-08 09:37:19 +020010# SPDX-License-Identifier: GPL-2.0+
Nobuhiro Iwamatsu6c0bbdc2007-09-23 02:31:13 +090011
12include $(TOPDIR)/config.mk
13
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010014LIB = $(obj)lib$(BOARD).o
Nobuhiro Iwamatsu6c0bbdc2007-09-23 02:31:13 +090015
Nobuhiro Iwamatsu9e23fe02008-07-08 12:03:24 +090016COBJS := ms7722se.o
Nobuhiro Iwamatsu6c0bbdc2007-09-23 02:31:13 +090017SOBJS := lowlevel_init.o
18
Wolfgang Denka30cc5a2008-07-02 23:38:50 +020019SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
20OBJS := $(addprefix $(obj),$(COBJS))
21SOBJS := $(addprefix $(obj),$(SOBJS))
22
Nobuhiro Iwamatsu6c0bbdc2007-09-23 02:31:13 +090023$(LIB): $(OBJS) $(SOBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010024 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
Nobuhiro Iwamatsu6c0bbdc2007-09-23 02:31:13 +090025
Nobuhiro Iwamatsu6c0bbdc2007-09-23 02:31:13 +090026#########################################################################
27
Wolfgang Denka30cc5a2008-07-02 23:38:50 +020028# defines $(obj).depend target
29include $(SRCTREE)/rules.mk
Nobuhiro Iwamatsu6c0bbdc2007-09-23 02:31:13 +090030
Wolfgang Denka30cc5a2008-07-02 23:38:50 +020031sinclude $(obj).depend
Nobuhiro Iwamatsu6c0bbdc2007-09-23 02:31:13 +090032
33#########################################################################