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):
|
$(RECURSE_TARGETS):
|
||||||
@$(ECHO); \
|
@$(ECHO); \
|
||||||
BASEDIR=`pwd`; \
|
BASEDIR=`pwd`; \
|
||||||
|
test -d $$BASEDIR || $(EXIT_CMD) ; \
|
||||||
for subd in $(SUB_DIRS) xxx; \
|
for subd in $(SUB_DIRS) xxx; \
|
||||||
do if [ $$subd != xxx ] ; then \
|
do if [ $$subd != xxx ] ; then \
|
||||||
cd $$BASEDIR; \
|
cd $$BASEDIR; \
|
||||||
|
test -d $$subd || $(EXIT_CMD) ; \
|
||||||
$(ECHO); \
|
$(ECHO); \
|
||||||
$(ECHO) "*** $$BASEDIR/$$subd ($@)" ; \
|
$(ECHO) "*** $$BASEDIR/$$subd ($@)" ; \
|
||||||
cmd="cd $$subd; $(MAKE) $(RULE)"; \
|
cmd="cd $$subd; $(MAKE) $(RULE)"; \
|
||||||
|
|||||||
@@ -22,9 +22,11 @@ ifeq ($(RTEMS_USE_OWN_PDIR),yes)
|
|||||||
$(RECURSE_TARGETS):
|
$(RECURSE_TARGETS):
|
||||||
@$(ECHO); \
|
@$(ECHO); \
|
||||||
BASEDIR=`pwd`; \
|
BASEDIR=`pwd`; \
|
||||||
|
test -d $$BASEDIR || $(EXIT_CMD) ; \
|
||||||
for subd in $(SUB_DIRS) xxx; \
|
for subd in $(SUB_DIRS) xxx; \
|
||||||
do if [ $$subd != xxx ] ; then \
|
do if [ $$subd != xxx ] ; then \
|
||||||
cd $$BASEDIR; \
|
cd $$BASEDIR; \
|
||||||
|
test -d $$subd || $(EXIT_CMD) ; \
|
||||||
$(ECHO); \
|
$(ECHO); \
|
||||||
$(ECHO) "*** $$BASEDIR/$$subd ($@)" ; \
|
$(ECHO) "*** $$BASEDIR/$$subd ($@)" ; \
|
||||||
cmd="cd $$subd; $(MAKE) $(RULE)"; \
|
cmd="cd $$subd; $(MAKE) $(RULE)"; \
|
||||||
|
|||||||
Reference in New Issue
Block a user