]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/amcc/ebony/Makefile
board: powerpc: convert makefiles to Kbuild style
[karo-tx-uboot.git] / board / amcc / ebony / Makefile
index 553fc6b14a530aa86226ebc893cba464626f8702..5876486f58ff47e69c710706c55fa5044e2beec3 100644 (file)
@@ -5,25 +5,5 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-include $(TOPDIR)/config.mk
-
-LIB    = $(obj)lib$(BOARD).o
-
-COBJS  = $(BOARD).o flash.o
-SOBJS  = 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))
-
-#########################################################################
-
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################
+obj-y  = ebony.o flash.o
+extra-y        += init.o