]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
xilinx: common: Add Makefile to common folder
authorMichal Simek <michal.simek@xilinx.com>
Tue, 20 Oct 2020 10:05:14 +0000 (12:05 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 27 Oct 2020 07:13:32 +0000 (08:13 +0100)
There is no need to reference files in common folder back. Simply adding
Makefile to this folder does the job because this "common" location is
already wired in main Makefile.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/common/Makefile [new file with mode: 0644]
board/xilinx/versal/Makefile
board/xilinx/zynq/Makefile
board/xilinx/zynqmp/Makefile

diff --git a/board/xilinx/common/Makefile b/board/xilinx/common/Makefile
new file mode 100644 (file)
index 0000000..3600da4
--- /dev/null
@@ -0,0 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# (C) Copyright 2020 Xilinx, Inc.
+# Michal Simek <michal.simek@xilinx.com>
+#
+
+obj-y  += board.o
index 90e03431540632e9486e1903ba8fce34b9d5bf89..4a46ca02d7052b0560b3c46b5e0a4ee714a6f63b 100644 (file)
@@ -6,4 +6,3 @@
 
 obj-y  := board.o
 obj-$(CONFIG_CMD_VERSAL)       += cmds.o
-obj-y  += ../common/board.o
index 096a7aceb939c49203e9acc8538447a02d6425d5..8566171589171f4212ec55c6763cb8793713f851 100644 (file)
@@ -4,7 +4,6 @@
 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
 
 obj-y  := board.o
-obj-y  += ../common/board.o
 
 ifneq ($(CONFIG_XILINX_PS_INIT_FILE),"")
 PS_INIT_FILE := $(shell cd $(srctree); readlink -f $(CONFIG_XILINX_PS_INIT_FILE))
index 398c6aaa452acd3cd8f906de8445de674f7be29b..7d8277ca400450bba287cac1dde98ff3dce70a24 100644 (file)
@@ -4,7 +4,6 @@
 # Michal Simek <michal.simek@xilinx.com>
 
 obj-y  := zynqmp.o
-obj-y  += ../common/board.o
 
 ifneq ($(CONFIG_XILINX_PS_INIT_FILE),"")
 PS_INIT_FILE := $(shell cd $(srctree); readlink -f $(CONFIG_XILINX_PS_INIT_FILE))