summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-03 18:46:16 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-03 18:46:16 +0000
commit5fafa0e2a6bfab1e39ef440acee72df9b1b04b8e (patch)
tree54c61c56637a0f7d794146efb0b644c9fbe73028 /make
parentRemoved isatty() since we are now using newlib's implementation as (diff)
downloadrtems-5fafa0e2a6bfab1e39ef440acee72df9b1b04b8e.tar.bz2
Added test so the build procedure would stop if a directory did not exist.
This typically indicates a bug in a directory level Makefile or a configure scrip bug.
Diffstat (limited to '')
-rw-r--r--make/directory.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/make/directory.cfg b/make/directory.cfg
index da8a9038a4..fedb721e93 100644
--- a/make/directory.cfg
+++ b/make/directory.cfg
@@ -22,9 +22,11 @@ ifeq ($(RTEMS_USE_OWN_PDIR),yes)
$(RECURSE_TARGETS):
@$(ECHO); \
BASEDIR=`pwd`; \
+ test -d $$BASEDIR || $(EXIT_CMD) ; \
for subd in $(SUB_DIRS) xxx; \
do if [ $$subd != xxx ] ; then \
cd $$BASEDIR; \
+ test -d $$subd || $(EXIT_CMD) ; \
$(ECHO); \
$(ECHO) "*** $$BASEDIR/$$subd ($@)" ; \
cmd="cd $$subd; $(MAKE) $(RULE)"; \