summaryrefslogtreecommitdiff
path: root/board/davinci/sonata/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/davinci/sonata/Makefile')
-rw-r--r--board/davinci/sonata/Makefile23
1 files changed, 2 insertions, 21 deletions
diff --git a/board/davinci/sonata/Makefile b/board/davinci/sonata/Makefile
index 870314a1682..92e1a180c01 100644
--- a/board/davinci/sonata/Makefile
+++ b/board/davinci/sonata/Makefile
@@ -7,24 +7,5 @@
# SPDX-License-Identifier: GPL-2.0+
#
-include $(TOPDIR)/config.mk
-
-LIB = $(obj)lib$(BOARD).o
-
-COBJS := $(BOARD).o
-SOBJS := board_init.o
-
-SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS := $(addprefix $(obj),$(COBJS))
-SOBJS := $(addprefix $(obj),$(SOBJS))
-
-$(LIB): $(obj).depend $(OBJS) $(SOBJS)
- $(call cmd_link_o_target, $(OBJS) $(SOBJS))
-
-#########################################################################
-# This is for $(obj).depend target
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################
+obj-y := sonata.o
+obj-y += board_init.o