summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-05-03 12:51:36 +0200
committerMichael Stahl <mstahl@redhat.com>2012-05-03 12:53:48 +0200
commit38a91f15e60d01e2d33dd70c1f83e9b2e73426c4 (patch)
treeeedd85d3d3d61ad81d32e9ce08e39a449ac4a8f3 /Makefile
parent4b5d041368d0b7f07e3ad42d99bd5b480323a555 (diff)
Makefile: clean should rm $SOLARVER (see f33ba93b)
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
#