X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Femk%2Ftop9000%2FMakefile;h=3125164ca91da2131e1e23c5b571b648d3dccce8;hb=f9f6686ff8ad3cbc860a51aa2b6b6def4188f15b;hp=9b280482a9e2c35c56c26f6bf0adbc3bfaff8c83;hpb=d55c5c3f81bf93a411529d8266bc271c8e06b4f1;p=oweals%2Fu-boot.git diff --git a/board/emk/top9000/Makefile b/board/emk/top9000/Makefile index 9b280482a9..3125164ca9 100644 --- a/board/emk/top9000/Makefile +++ b/board/emk/top9000/Makefile @@ -5,30 +5,14 @@ # (C) Copyright 2010 # Reinhard Meyer, EMK Elektronik, reinhard.meyer@emk-elektronik.de # -# See file CREDITS for list of people who contributed to this -# project. -# -# 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 -LIB = $(obj)lib$(BOARD).a +LIB = $(obj)lib$(BOARD).o -COBJS-y += top9000.o +COBJS-y += $(BOARD).o COBJS-$(CONFIG_ATMEL_SPI) += spi.o SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c) @@ -36,13 +20,7 @@ OBJS := $(addprefix $(obj),$(COBJS-y)) SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(obj).depend $(OBJS) $(SOBJS) - $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) - -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend + $(call cmd_link_o_target, $(OBJS) $(SOBJS)) #########################################################################