fix for EPICS 7.0.5: make sure not to remove #include iocshRegisterCommon.h from *_registerRecordDeviceDriver.cpp

This commit is contained in:
2021-03-05 15:43:24 +01:00
parent 9fbbdcb7ad
commit fe36f36eb5
+2 -1
View File
@@ -1079,9 +1079,10 @@ endif
# EPICS R3.14+:
# Create file to fill registry from dbd file.
# Avoid calling iocshRegisterCommon() repeatedly for each module
${REGISTRYFILE}: ${MODULEDBD}
$(RM) $@ temp.cpp
$(PERL) $(EPICS_BASE_HOST_BIN)/registerRecordDeviceDriver.pl $< $(basename $@) | grep -v iocshRegisterCommon > temp.cpp
$(PERL) $(EPICS_BASE_HOST_BIN)/registerRecordDeviceDriver.pl $< $(basename $@) | grep -v 'iocshRegisterCommon.*;' > temp.cpp
$(MV) temp.cpp $@
# 3.14.12 complains if this rule is not overwritten