From: Konstantin Porotchkin <kostap@marvell.com>
Date: Wed, 29 Aug 2018 13:34:54 +0000 (+0300)
Subject: fix: cmd: mvebu: Exclude mvebu commands from SPL builds
X-Git-Tag: v2025.01-rc5-pxa1908~3548^2~2
X-Git-Url: http://git.dujemihanovic.xyz/contact?a=commitdiff_plain;h=3c2a3897e85177655134110bc32e04be668b1de8;p=u-boot.git

fix: cmd: mvebu: Exclude mvebu commands from SPL builds

Exclude mvebu commands from SPL builds

Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Cc: Igal Liberman <igall@marvell.com>
Cc: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
---

diff --git a/cmd/Makefile b/cmd/Makefile
index 3487c80455..a61fab6583 100644
--- a/cmd/Makefile
+++ b/cmd/Makefile
@@ -163,12 +163,13 @@ obj-$(CONFIG_CMD_BLOB) += blob.o
 obj-$(CONFIG_CMD_AVB) += avb.o
 
 obj-$(CONFIG_X86) += x86/
+
+obj-$(CONFIG_ARCH_MVEBU) += mvebu/
 endif # !CONFIG_SPL_BUILD
 
 # core command
 obj-y += nvedit.o
 
-obj-$(CONFIG_ARCH_MVEBU) += mvebu/
 obj-$(CONFIG_TI_COMMON_CMD_OPTIONS) += ti/
 
 filechk_data_gz = (echo "static const char data_gz[] ="; cat $< | scripts/bin2c; echo ";")