]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/avr32/cpu/at32ap700x/Makefile
avr32: convert makefiles to Kbuild style
[karo-tx-uboot.git] / arch / avr32 / cpu / at32ap700x / Makefile
index 8be8c1d05e527bb8c3c1c6b4536d8eb5b2666101..06f18963e2df00ad229d467a53362748c8f45fad 100644 (file)
@@ -4,24 +4,4 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-include $(TOPDIR)/config.mk
-
-LIB    := $(obj)lib$(SOC).o
-
-COBJS  := portmux.o clk.o mmu.o
-SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS   := $(addprefix $(obj),$(SOBJS) $(COBJS))
-
-all: $(obj).depend $(LIB)
-
-$(LIB): $(OBJS)
-       $(call cmd_link_o_target, $^)
-
-#########################################################################
-
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################
+obj-y  := portmux.o clk.o mmu.o