]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/renesas/ecovec/Makefile
sh: convert makefiles to Kbuild style
[karo-tx-uboot.git] / board / renesas / ecovec / Makefile
index f2a02f81b599a97c36b8d11ad87b457ce3f51bfc..943fa4760dd10ddf21076d930e894dbc1a7da2c6 100644 (file)
@@ -4,26 +4,5 @@
 #
 # SPDX-License-Identifier:     GPL-2.0+
 
-
-include $(TOPDIR)/config.mk
-
-LIB = $(obj)lib$(BOARD).o
-
-COBJS   := ecovec.o
-SOBJS   := lowlevel_init.o
-
-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))
-
-#########################################################################
-
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################
+obj-y := ecovec.o
+obj-y += lowlevel_init.o