summaryrefslogtreecommitdiff
path: root/Makefile.top
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-07-31 14:43:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-07-31 16:39:21 +0100
commitb168056750d6a1f88667376be0e8f48eeccc9aca (patch)
tree7f80e5ccda40bd75c475ad91664d2b2ebe7a9838 /Makefile.top
parent1f77c4320e473a28a7f3a30ea367fbfaa2c44784 (diff)
the dmake binary on many build-bots is not in sync with the in-tree version
Change-Id: Ic52986c15de0051321d710e9c26d26786302a196
Diffstat (limited to 'Makefile.top')
-rw-r--r--Makefile.top3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.top b/Makefile.top
index 62715ded83f3..78806f235ed2 100644
--- a/Makefile.top
+++ b/Makefile.top
@@ -319,6 +319,9 @@ $(eval $(call dmake_modules_rules,$(dmake_modules)))
clean: clean-host clean-build
clean-host:
+ifeq ($(BUILD_DMAKE),YES)
+ if [ -f dmake/Makefile ] ; then $(GNUMAKE) -j $(GMAKE_PARALLELISM) -C dmake clean; fi
+endif
rm -fr $(DEVINSTALLDIR)
rm -fr $(OUTDIR)
rm -fr $(WORKDIR)