]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/renesas/ecovec/Makefile
Merge git://git.denx.de/u-boot-arm
[karo-tx-uboot.git] / board / renesas / ecovec / Makefile
index 8fdc0c9322b35ceda77ce689b5e60393fe2ba06f..f2a02f81b599a97c36b8d11ad87b457ce3f51bfc 100644 (file)
@@ -2,20 +2,7 @@
 # Copyright (C) 2011 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
 # Copyright (C) 2011 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
 #
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
-# MA 02111-1307 USA
+# SPDX-License-Identifier:     GPL-2.0+
 
 
 include $(TOPDIR)/config.mk
@@ -25,8 +12,12 @@ LIB = $(obj)lib$(BOARD).o
 COBJS   := ecovec.o
 SOBJS   := lowlevel_init.o
 
-$(LIB): $(obj).depend $(COBJS) $(SOBJS)
-               $(call cmd_link_o_target, $(COBJS) $(SOBJS))
+SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS   := $(addprefix $(obj),$(COBJS))
+SOBJS  := $(addprefix $(obj),$(SOBJS))
+
+$(LIB): $(OBJS) $(SOBJS)
+               $(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
 #########################################################################