]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/qemu-mips/Makefile
mips: convert makefiles to Kbuild style
[karo-tx-uboot.git] / board / qemu-mips / Makefile
index 70603414f4ee0d6e224f017873eb61eb018c0979..8040573ff9270147179bc9cdffe5b9fb72f8b4ed 100644 (file)
@@ -5,25 +5,5 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-include $(TOPDIR)/config.mk
-
-LIB    = $(obj)lib$(BOARD).o
-
-COBJS  = $(BOARD).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  = qemu-mips.o
+obj-y  += lowlevel_init.o