forked from OSchip/llvm-project
Do not try to descend into optional build directories if they do not
exist. This makes the build logic symmetric for both the in tree and out of tree cases. llvm-svn: 126070
This commit is contained in:
parent
30482bc786
commit
a16825106c
|
@ -840,7 +840,9 @@ $(RecursiveTargets)::
|
|||
else
|
||||
$(RecursiveTargets)::
|
||||
$(Verb) for dir in $(OPTIONAL_DIRS); do \
|
||||
($(MAKE) -C$$dir $@ ) || exit 1; \
|
||||
if [ -d $(PROJ_SRC_DIR)/$$dir ]; then\
|
||||
($(MAKE) -C$$dir $@ ) || exit 1; \
|
||||
fi \
|
||||
done
|
||||
endif
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue