summaryrefslogtreecommitdiff
path: root/board/vpac270/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/vpac270/Makefile')
-rw-r--r--board/vpac270/Makefile23
1 files changed, 2 insertions, 21 deletions
diff --git a/board/vpac270/Makefile b/board/vpac270/Makefile
index a138aa4da71..ad7f7d8d66d 100644
--- a/board/vpac270/Makefile
+++ b/board/vpac270/Makefile
@@ -6,27 +6,8 @@
# SPDX-License-Identifier: GPL-2.0+
#
-include $(TOPDIR)/config.mk
-
-LIB = $(obj)lib$(BOARD).o
-
ifndef CONFIG_SPL_BUILD
-COBJS := vpac270.o
+obj-y := vpac270.o
else
-COBJS := onenand.o
+obj-y := onenand.o
endif
-
-SRCS := $(COBJS:.o=.c)
-OBJS := $(addprefix $(obj),$(COBJS))
-
-$(LIB): $(obj).depend $(OBJS)
- $(call cmd_link_o_target, $(OBJS))
-
-#########################################################################
-
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################