]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/nios2/cpu/Makefile
nios2: remove EPCS driver
[karo-tx-uboot.git] / arch / nios2 / cpu / Makefile
index 0834476731ebada391360a1b5736302ea9db17ba..3fe7847160d5afbcd752415eb3c2657e20312eb9 100644 (file)
@@ -5,29 +5,7 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-include $(TOPDIR)/config.mk
-
-LIB    = $(obj)lib$(CPU).o
-
-START  = start.o
-SOBJS  = exceptions.o
-COBJS  = cpu.o interrupts.o sysid.o traps.o epcs.o
-COBJS  += fdt.o
-
-SRCS   := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS   := $(addprefix $(obj),$(SOBJS) $(COBJS))
-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  = exceptions.o
+obj-y  += cpu.o interrupts.o sysid.o traps.o
+obj-y  += fdt.o