summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-02-08 11:39:04 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-02-09 09:22:39 +0100
commitb13bd92962720ae18e205bf7db15a4a970d4fc85 (patch)
treec2b4c7bed9c910e4be3d832cc6472fb0da9469f4
parent36806dc1f4093bfaff258865bdf97f32e7a2f8e6 (diff)
downloadptxdist-b13bd92962720ae18e205bf7db15a4a970d4fc85.tar.gz
ptxdist-b13bd92962720ae18e205bf7db15a4a970d4fc85.tar.xz
u-boot-tools: fix building on PPC
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/u-boot-tools.make11
1 files changed, 9 insertions, 2 deletions
diff --git a/rules/u-boot-tools.make b/rules/u-boot-tools.make
index 2a25387ea..b1b5515ca 100644
--- a/rules/u-boot-tools.make
+++ b/rules/u-boot-tools.make
@@ -29,11 +29,18 @@ U_BOOT_TOOLS_LICENSE := GPL-2.0-only
# Prepare
# ----------------------------------------------------------------------------
-U_BOOT_TOOLS_CONF_TOOL := NO
+
# just pick sandbox as a dummy target config
+U_BOOT_TOOLS_CONFIG := sandbox_config
+ifdef PTXCONF_ARCH_PPC
+# the sandbox is not supported by PPC so just some random PPC config
+U_BOOT_TOOLS_CONFIG := MPC8308RDB_defconfig
+endif
+
+U_BOOT_TOOLS_CONF_TOOL := NO
U_BOOT_TOOLS_MAKE_OPT := \
CROSS_COMPILE=$(BOOTLOADER_CROSS_COMPILE) \
- sandbox_config \
+ $(U_BOOT_TOOLS_CONFIG) \
tools/env/
# ----------------------------------------------------------------------------