]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/cpu/arm926ejs/mx27/Makefile
imx: fix exception vectors relocation in imx27
[u-boot] / arch / arm / cpu / arm926ejs / mx27 / Makefile
index 53ffaf285694d710a7231cb0b89564d160d495cb..0edf1445fe364c19e8b00efd0f499783d245b114 100644 (file)
@@ -4,25 +4,8 @@
 #
 # SPDX-License-Identifier:     GPL-2.0+
 
-include $(TOPDIR)/config.mk
+obj-y  = generic.o reset.o timer.o
 
-LIB    = $(obj)lib$(SOC).o
-
-COBJS  = generic.o reset.o timer.o
-
-SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS   := $(addprefix $(obj),$(SOBJS) $(COBJS))
-
-all:   $(obj).depend $(LIB)
-
-$(LIB):        $(OBJS)
-       $(call cmd_link_o_target, $(OBJS))
-
-#########################################################################
-
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################
+ifndef CONFIG_SPL_BUILD
+obj-y  += relocate.o
+endif