X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=arch%2Fopenrisc%2Fcpu%2FMakefile;h=fc47d666fe6139bf4a2128fdeb683b96c4a16a80;hb=dab5e3469d294a4e1ffed8407d296a78e02cc01f;hp=b3b1a243c39e16ac258162d8d3ecc194a8e89165;hpb=afd855d534de22aa625cb12aa9aa45e459f7de99;p=u-boot diff --git a/arch/openrisc/cpu/Makefile b/arch/openrisc/cpu/Makefile index b3b1a243c3..fc47d666fe 100644 --- a/arch/openrisc/cpu/Makefile +++ b/arch/openrisc/cpu/Makefile @@ -2,46 +2,8 @@ # (C) Copyright 2011 # Julius Baxter # -# See file CREDITS for list of people who contributed to this -# project. +# SPDX-License-Identifier: GPL-2.0+ # -# 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 -# - -include $(TOPDIR)/config.mk - -LIB = $(obj)lib$(CPU).o - -START = start.o -COBJS-y = cache.o cpu.o exceptions.o interrupts.o - -SRCS := $(START:.o=.S) $(COBJS-y:.o=.c) -OBJS := $(addprefix $(obj),$(COBJS-y)) -START := $(addprefix $(obj),$(START)) - -all: $(obj).depend $(START) $(LIB) - -$(LIB): $(OBJS) - $(call cmd_link_o_target, $(OBJS)) - -######################################################################### - -# defines $(obj).depend target -include $(SRCTREE)/rules.mk - -sinclude $(obj).depend -######################################################################### +extra-y = start.o +obj-y = cache.o cpu.o exceptions.o interrupts.o