create an output dir that's already needed by $(shell ...)

Otherwise there's an error message e.g. during a clean build.

Change-Id: I42efd08e014a4ebe25cfd1a497f622e5ea5c39ad
This commit is contained in:
Luboš Luňák
2013-02-07 17:00:50 +01:00
parent 5535195c63
commit c3de6c1a58

View File

@@ -35,7 +35,8 @@ compilerplugins: compilerplugins-build
CLANGSRC=$(foreach src,$(wildcard $(CLANGINDIR)/*.cxx), $(notdir $(src)))
# Remember the sources and if they have changed, force plugin relinking.
CLANGSRCCHANGED= \
$(shell echo $(CLANGSRC) | sort > $(CLANGOUTDIR)/sources-new.txt; \
$(shell mkdir -p $(CLANGOUTDIR) ; \
echo $(CLANGSRC) | sort > $(CLANGOUTDIR)/sources-new.txt; \
if diff $(CLANGOUTDIR)/sources.txt $(CLANGOUTDIR)/sources-new.txt >/dev/null 2>/dev/null; then \
echo 0; \
else \