]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/armv7/mx5/Makefile
mx53: add HAB support
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / mx5 / Makefile
index 7c86ae3ea5b301e8b153fa285f32075da81f6e2c..93b5378b6b63c71b78d54a5c7e1d2774c517e419 100644 (file)
@@ -7,26 +7,7 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-include $(TOPDIR)/config.mk
+obj-y := soc.o clock.o
+obj-y += lowlevel_init.o
 
-LIB    = $(obj)lib$(SOC).o
-
-COBJS  = soc.o clock.o
-SOBJS = lowlevel_init.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
-
-#########################################################################
+obj-$(CONFIG_SECURE_BOOT) += hab.o