summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)