diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-04-03 18:46:16 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-04-03 18:46:16 +0000 |
commit | 5fafa0e2a6bfab1e39ef440acee72df9b1b04b8e (patch) | |
tree | 54c61c56637a0f7d794146efb0b644c9fbe73028 /c | |
parent | Removed isatty() since we are now using newlib's implementation as (diff) | |
download | rtems-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 'c')
-rw-r--r-- | c/src/make/directory.cfg | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/c/src/make/directory.cfg b/c/src/make/directory.cfg index da8a9038a4..fedb721e93 100644 --- a/c/src/make/directory.cfg +++ b/c/src/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)"; \ |