do not clean INPATH_FOR_BUILD on noncrosscompiles

This commit is contained in:
Bjoern Michaelsen 2011-12-07 23:50:07 +01:00
parent 3deb83d7a7
commit 4d247bd3c0

View file

@ -67,7 +67,7 @@ clean-host:
clean-build:
if [ -f $(SRCDIR)/dmake/Makefile ] ; then $(GNUMAKE) -C $(SRCDIR)/dmake clean; fi
rm -f solenv/*/bin/dmake*
rm -rf $(SRCDIR)/*/$(INPATH_FOR_BUILD)
$(if $(filter-out $(INPATH),$(INPATH_FOR_BUILD),)rm -rf $(SRCDIR)/*/$(INPATH_FOR_BUILD))
distclean: clean
if [ -f $(SRCDIR)/dmake/Makefile ] ; then $(GNUMAKE) -C $(SRCDIR)/dmake clean; fi