mirror of
https://github.com/SCST-project/scst.git
synced 2026-09-26 18:04:20 +00:00
Makefiles: Propagate recursive command failures
Return the failing submake status from the top-level and Debian build loops instead of turning an early failure into success. Collect and check the statuses of the parallel iSCSI and SRP cleanup jobs as well.
This commit is contained in:
@@ -186,18 +186,19 @@ tags:
|
||||
find . -type f -name "*.[ch]" | ctags --c-kinds=+p --fields=+iaS --extra=+q -e -L-
|
||||
|
||||
cov-build:
|
||||
-for d in $(SCST_DIR) $(ISCSI_DIR) $(OLD_QLA_DIR) $(NEW_QLA_DIR) \
|
||||
for d in $(SCST_DIR) $(ISCSI_DIR) $(OLD_QLA_DIR) $(NEW_QLA_DIR) \
|
||||
$(SRP_DIR) $(SCST_LOCAL_DIR) $(FCST_DIR) $(USR_DIR) \
|
||||
$(SCSTADM_DIR); do \
|
||||
BUILD_2X_MODULE=y CONFIG_SCSI_QLA_FC=y \
|
||||
CONFIG_SCSI_QLA2XXX_TARGET=y $(MAKE) -j$$(nproc) -C "$$d"; \
|
||||
CONFIG_SCSI_QLA2XXX_TARGET=y $(MAKE) -j$$(nproc) -C "$$d" || \
|
||||
exit $$?; \
|
||||
done
|
||||
|
||||
all clean extraclean install uninstall:
|
||||
-if [ $@ = extraclean ]; then rm -f TAGS tags cscope.out; fi
|
||||
-for d in $(SCST_DIR) $(ISCSI_DIR) $(QLA_DIR) $(SRP_DIR) \
|
||||
if [ $@ = extraclean ]; then rm -f TAGS tags cscope.out; fi
|
||||
for d in $(SCST_DIR) $(ISCSI_DIR) $(QLA_DIR) $(SRP_DIR) \
|
||||
$(SCST_LOCAL_DIR) $(FCST_DIR) $(USR_DIR) $(SCSTADM_DIR); do \
|
||||
$(MAKE) -j$$(nproc) -C "$$d" $@ || break; \
|
||||
$(MAKE) -j$$(nproc) -C "$$d" $@ || exit $$?; \
|
||||
done
|
||||
|
||||
scst:
|
||||
|
||||
Reference in New Issue
Block a user