summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/target.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/mk/target.mk b/mk/target.mk
index 7d297a7e9c..ab425a6f29 100644
--- a/mk/target.mk
+++ b/mk/target.mk
@@ -337,6 +337,7 @@ HC_SPLIT_POST = \
echo "INPUT(" *.$(way_)o ")" >>ld.script; \
$(LD) -r $(LD_X) -o ../$(notdir $@) ld.script; \
)
+CLEAN_FILES += *_split/ld.script
else
HC_SPLIT_POST = \
( cd $(basename $@)_split; \