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