cppcheck cleanup: fix nullPointer errors
[oweals/u-boot.git] / arch / arm / cpu / arm926ejs / pantheon / Makefile
index fb6bf63eed6348f392853b66ba7435283433e41e..988341f8fb67fa664f90ffdba8c1d55e472e7697 100644 (file)
@@ -6,25 +6,4 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-include $(TOPDIR)/config.mk
-
-LIB    = $(obj)lib$(SOC).o
-
-COBJS-y        = cpu.o timer.o dram.o
-
-SRCS   := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
-OBJS   := $(addprefix $(obj),$(SOBJS) $(COBJS-y))
-
-all:   $(obj).depend $(LIB)
-
-$(LIB):        $(OBJS)
-       $(call cmd_link_o_target, $(OBJS))
-
-#########################################################################
-
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################
+obj-y  = cpu.o timer.o dram.o