]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/cpu/arm1136/Makefile
ARM: move -march=* and -mtune= options to arch/arm/Makefile
[u-boot] / arch / arm / cpu / arm1136 / Makefile
index cc516f744b9c8339a5ca46cba229e387d9a3baee..56a9390b0111856fcb335f858ec5bef5a75b2277 100644 (file)
@@ -5,27 +5,8 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-include $(TOPDIR)/config.mk
+extra-y        = start.o
+obj-y  = cpu.o
 
-LIB    = $(obj)lib$(CPU).o
-
-START  = start.o
-COBJS  = cpu.o
-
-SRCS   := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS   := $(addprefix $(obj),$(COBJS) $(SOBJS))
-START  := $(addprefix $(obj),$(START))
-
-all:   $(obj).depend $(START) $(LIB)
-
-$(LIB):        $(OBJS)
-       $(call cmd_link_o_target, $(OBJS))
-
-#########################################################################
-
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################
+obj-$(CONFIG_MX31) += mx31/
+obj-$(CONFIG_MX35) += mx35/