]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
mvebu: ds414: Move cmd_syno into ds414 directory
authorTom Rini <trini@konsulko.com>
Wed, 16 Mar 2016 19:25:46 +0000 (15:25 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 16 Mar 2016 19:27:54 +0000 (15:27 -0400)
When we switch to including all linker lists in SPL it is important to
not include commands as that may lead to link errors due to other things
we have already discarded.  In this case as we don't have other common
code nor other Synology borads, move the cmd_syno.c file (which claims
to be ds414 specific anyways!) into the ds414 directory and only build
it for non-SPL builds.

Signed-off-by: Tom Rini <trini@konsulko.com>
board/Synology/common/Makefile [deleted file]
board/Synology/ds414/Makefile
board/Synology/ds414/cmd_syno.c [moved from board/Synology/common/cmd_syno.c with 100% similarity]

diff --git a/board/Synology/common/Makefile b/board/Synology/common/Makefile
deleted file mode 100644 (file)
index e66aeb8..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#
-# Copyright (C) 2015 Phil Sutter <phil@nwl.cc>
-#
-# SPDX-License-Identifier:     GPL-2.0+
-#
-
-obj-y :=       cmd_syno.o
index 0f4c32d57ca31b82ce025ebb9bba160be651c0c5..93be10157525aefe1b78a888fa115693d5f56f49 100644 (file)
@@ -4,4 +4,7 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-obj-y :=       ds414.o
+obj-y  += ds414.o
+ifndef CONFIG_SPL_BUILD
+obj-y  += cmd_syno.o
+endif