projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
00d78f1
)
Do not try to descend into optional build directories if they do not
author
Stephen Wilson
<wilsons@start.ca>
Sun, 20 Feb 2011 03:51:07 +0000
(
03:51
+0000)
committer
Stephen Wilson
<wilsons@start.ca>
Sun, 20 Feb 2011 03:51:07 +0000
(
03:51
+0000)
exist. This makes the build logic symmetric for both the in tree and
out of tree cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126070
91177308
-0d34-0410-b5e6-
96231b3b80d8
Makefile.rules
patch
|
blob
|
history
diff --git
a/Makefile.rules
b/Makefile.rules
index eab886190cce6deb3a9cf9fe571fb7ea4dd37037..363fa9605b5a8c253c8ffff93008ec4a2967bdfd 100644
(file)
--- a/
Makefile.rules
+++ b/
Makefile.rules
@@
-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