From 5fafa0e2a6bfab1e39ef440acee72df9b1b04b8e Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 3 Apr 1998 18:46:16 +0000 Subject: 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. --- make/directory.cfg | 2 ++ 1 file changed, 2 insertions(+) (limited to 'make/directory.cfg') 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)"; \ -- cgit v1.2.3