blob: 481c8bb95420c01ec26ec04aadfa91f2d72359b4 [file] [log] [blame]
Nobuhiro Iwamatsu69df3c42007-05-13 21:01:03 +09001#
2# Copyright (C) 2007
3# Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Nobuhiro Iwamatsu69df3c42007-05-13 21:01:03 +09006#
7include $(TOPDIR)/config.mk
8
Sebastien Carlier6d8962e2010-11-05 15:48:07 +01009LIB = $(obj)lib$(BOARD).o
Nobuhiro Iwamatsu69df3c42007-05-13 21:01:03 +090010
Nobuhiro Iwamatsu9e23fe02008-07-08 12:03:24 +090011COBJS := ms7750se.o
Nobuhiro Iwamatsu69df3c42007-05-13 21:01:03 +090012SOBJS := lowlevel_init.o
13
Wolfgang Denka30cc5a2008-07-02 23:38:50 +020014SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
15OBJS := $(addprefix $(obj),$(COBJS))
16SOBJS := $(addprefix $(obj),$(SOBJS))
17
Nobuhiro Iwamatsu69df3c42007-05-13 21:01:03 +090018$(LIB): $(OBJS) $(SOBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010019 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
Nobuhiro Iwamatsu69df3c42007-05-13 21:01:03 +090020
Wolfgang Denka30cc5a2008-07-02 23:38:50 +020021#########################################################################
Nobuhiro Iwamatsu69df3c42007-05-13 21:01:03 +090022
Wolfgang Denka30cc5a2008-07-02 23:38:50 +020023# defines $(obj).depend target
24include $(SRCTREE)/rules.mk
Nobuhiro Iwamatsu69df3c42007-05-13 21:01:03 +090025
Wolfgang Denka30cc5a2008-07-02 23:38:50 +020026sinclude $(obj).depend
Nobuhiro Iwamatsu69df3c42007-05-13 21:01:03 +090027
Wolfgang Denka30cc5a2008-07-02 23:38:50 +020028#########################################################################