summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3220d9f10e35..b72ce142efa0 100644
--- a/Makefile
+++ b/Makefile
@@ -312,12 +312,14 @@ clean: clean-host clean-build
clean-host:
rm -fr $(DEVINSTALLDIR)
+ rm -fr $(SOLARVER)/$(INPATH) # not necessarily below SRCDIR
rm -fr $(SRCDIR)/*/$(INPATH)
rm -fr install
clean-build:
ifeq ($(CROSS_COMPILING),YES)
- rm -rf */$(INPATH_FOR_BUILD)
+ rm -rf $(SOLARVER)/$(INPATH_FOR_BUILD) # not necessarily below SRCDIR
+ rm -rf $(SRCDIR)/*/$(INPATH_FOR_BUILD)
endif
#