]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/m68k/cpu/mcf532x/Makefile
Merge branch 'karo-tx-uboot' into kc-merge
[karo-tx-uboot.git] / arch / m68k / cpu / mcf532x / Makefile
index 7d71dd9ca5093e4543f1dcb5c06fa29395c93d9c..9c53c50c4870efdcabe426ca2984300c232e01d0 100644 (file)
@@ -5,28 +5,7 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-include $(TOPDIR)/config.mk
+# ccflags-y += -DET_DEBUG
 
-# CFLAGS += -DET_DEBUG
-
-LIB    = $(obj)lib$(CPU).o
-
-START  =
-COBJS  = cpu.o speed.o cpu_init.o interrupts.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))
-
-#########################################################################
-
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################
+extra-y := start.o
+obj-y  = cpu.o speed.o cpu_init.o interrupts.o