forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -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)"; \
|
||||
|
||||
@@ -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)"; \
|
||||
|
||||
Reference in New Issue
Block a user