summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-09-24 20:30:09 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-09-24 20:30:09 +0000
commit7a86dc440452501699c3aecd07afcd999d9b45a1 (patch)
treec8ec215cc960674653de7bd40d8c10522d55ee32 /make
parentRemoved blank line. (diff)
downloadrtems-7a86dc440452501699c3aecd07afcd999d9b45a1.tar.bz2
Improved missing directory message.
Diffstat (limited to 'make')
-rw-r--r--make/directory.cfg5
1 files changed, 4 insertions, 1 deletions
diff --git a/make/directory.cfg b/make/directory.cfg
index fedb721e93..68b68d79e0 100644
--- a/make/directory.cfg
+++ b/make/directory.cfg
@@ -26,7 +26,10 @@ $(RECURSE_TARGETS):
for subd in $(SUB_DIRS) xxx; \
do if [ $$subd != xxx ] ; then \
cd $$BASEDIR; \
- test -d $$subd || $(EXIT_CMD) ; \
+ if [ ! -d $$subd ] ; then \
+ $(ECHO) "*** ERROR -- Directory ($$subd) does not exist!!!"; \
+ $(EXIT_CMD) ; \
+ fi ; \
$(ECHO); \
$(ECHO) "*** $$BASEDIR/$$subd ($@)" ; \
cmd="cd $$subd; $(MAKE) $(RULE)"; \