summaryrefslogtreecommitdiff
path: root/payloads/external
diff options
context:
space:
mode:
authorSergii Dmytruk <sergii.dmytruk@3mdeb.com>2022-05-14 23:59:49 +0300
committerFelix Held <felix-coreboot@felixheld.de>2022-09-28 17:35:37 +0000
commit68eef53ead66451e2a50af7fe4b5b1759f3d6e29 (patch)
tree8312c6c51494c66a44e50ecf6db2c7bed2fc6884 /payloads/external
parent84656e15c9c889283bc724ea9e8650c84c209c7c (diff)
payloads/external/skiboot/Makefile: fix output on `make clean`
skiboot's Makefile always executes $(CC) to determine whether its clang or GCC and not setting CROSS for clean target results in this annoying output (assuming `powerpc64-linux-gcc` isn't available): make[2]: powerpc64-linux-gcc: No such file or directory Change-Id: I242b2d7c1bdf1bbd70fd4e4e0605341fe8301ca5 Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/67053 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Krystian Hebel <krystian.hebel@3mdeb.com>
Diffstat (limited to 'payloads/external')
-rw-r--r--payloads/external/skiboot/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/payloads/external/skiboot/Makefile b/payloads/external/skiboot/Makefile
index 5cf630ea25..e4db9bb561 100644
--- a/payloads/external/skiboot/Makefile
+++ b/payloads/external/skiboot/Makefile
@@ -32,5 +32,6 @@ distclean: clean
clean:
# Redefine RM because it's used like `$(RM) non-existent-file`
# Also ignore useless messages about removing test files
- [ ! -d $(skiboot_dir) ] || $(MAKE) -C $(skiboot_dir) RM="rm -rf" clean > /dev/null
+ [ ! -d $(skiboot_dir) ] || \
+ $(MAKE) -C $(skiboot_dir) RM="rm -rf" CROSS="$(skiboot_cross)" clean > /dev/null
rm -rf $(build_dir)