diff --git a/src/makeBaseApp/top/exampleBoot/ioc/Makefile b/src/makeBaseApp/top/exampleBoot/ioc/Makefile@Common similarity index 100% rename from src/makeBaseApp/top/exampleBoot/ioc/Makefile rename to src/makeBaseApp/top/exampleBoot/ioc/Makefile@Common diff --git a/src/makeBaseApp/top/exampleBoot/ioc/Makefile@vxWorks b/src/makeBaseApp/top/exampleBoot/ioc/Makefile@vxWorks new file mode 100644 index 000000000..d5d8ef0cc --- /dev/null +++ b/src/makeBaseApp/top/exampleBoot/ioc/Makefile@vxWorks @@ -0,0 +1,8 @@ +TOP = ../.. +include $(TOP)/configure/CONFIG +ARCH = _ARCH_ + +# vxWorks architecture needs a cdCommands file to be built +buildInstall: cdCommands + +include $(TOP)/configure/RULES.ioc diff --git a/src/makeBaseApp/top/exampleBoot/ioc/README b/src/makeBaseApp/top/exampleBoot/ioc/README deleted file mode 100644 index e33aca77a..000000000 --- a/src/makeBaseApp/top/exampleBoot/ioc/README +++ /dev/null @@ -1,3 +0,0 @@ -On host execute the command - -../../bin//example stcmd.host diff --git a/src/makeBaseApp/top/exampleBoot/ioc/README@Common b/src/makeBaseApp/top/exampleBoot/ioc/README@Common new file mode 100644 index 000000000..7ae9368b7 --- /dev/null +++ b/src/makeBaseApp/top/exampleBoot/ioc/README@Common @@ -0,0 +1,3 @@ +To start the ioc from this directory execute the command + + ../../bin/_ARCH_/example st.cmd diff --git a/src/makeBaseApp/top/exampleBoot/ioc/README@vxWorks b/src/makeBaseApp/top/exampleBoot/ioc/README@vxWorks new file mode 100644 index 000000000..e69de29bb diff --git a/src/makeBaseApp/top/exampleBoot/ioc/stcmd.host b/src/makeBaseApp/top/exampleBoot/ioc/st.cmd@Common similarity index 100% rename from src/makeBaseApp/top/exampleBoot/ioc/stcmd.host rename to src/makeBaseApp/top/exampleBoot/ioc/st.cmd@Common diff --git a/src/makeBaseApp/top/exampleBoot/ioc/st.cmd b/src/makeBaseApp/top/exampleBoot/ioc/st.cmd@vxWorks similarity index 89% rename from src/makeBaseApp/top/exampleBoot/ioc/st.cmd rename to src/makeBaseApp/top/exampleBoot/ioc/st.cmd@vxWorks index 1302586e9..55ce12efc 100644 --- a/src/makeBaseApp/top/exampleBoot/ioc/st.cmd +++ b/src/makeBaseApp/top/exampleBoot/ioc/st.cmd@vxWorks @@ -1,7 +1,7 @@ # Example vxWorks startup file -# Following must be added for many board support packages -#cd +# Following will be needed for many board support packages +#cd _TOP_/iocBoot/_IOC_ < cdCommands diff --git a/src/makeBaseApp/top/simpleBoot/ioc/Makefile b/src/makeBaseApp/top/simpleBoot/ioc/Makefile@Common similarity index 100% rename from src/makeBaseApp/top/simpleBoot/ioc/Makefile rename to src/makeBaseApp/top/simpleBoot/ioc/Makefile@Common diff --git a/src/makeBaseApp/top/simpleBoot/ioc/Makefile@vxWorks b/src/makeBaseApp/top/simpleBoot/ioc/Makefile@vxWorks new file mode 100644 index 000000000..61e9c9602 --- /dev/null +++ b/src/makeBaseApp/top/simpleBoot/ioc/Makefile@vxWorks @@ -0,0 +1,8 @@ +TOP = ../.. +include $(TOP)/configure/CONFIG +ARCH = _ARCH_ + +# vxWorks architecture needs a cdCommands file +buildInstall: cdCommands + +include $(TOP)/configure/RULES.ioc diff --git a/src/makeBaseApp/top/simpleBoot/ioc/st.cmd@Common b/src/makeBaseApp/top/simpleBoot/ioc/st.cmd@Common new file mode 100644 index 000000000..5884c168b --- /dev/null +++ b/src/makeBaseApp/top/simpleBoot/ioc/st.cmd@Common @@ -0,0 +1,6 @@ +# Simple startup script +dbLoadDatabase("../../dbd/_APPNAME_.dbd",0,0) +registerRecordDeviceDriver(pdbbase) +dbLoadRecords("../../db/_APPNAME_.db","user=_USER_Host") +iocInit() +#seq snc_APPNAME_,"user=_USER_Host" diff --git a/src/makeBaseApp/top/simpleBoot/ioc/st.cmd b/src/makeBaseApp/top/simpleBoot/ioc/st.cmd@vxWorks similarity index 89% rename from src/makeBaseApp/top/simpleBoot/ioc/st.cmd rename to src/makeBaseApp/top/simpleBoot/ioc/st.cmd@vxWorks index 5e9017794..c9ba214de 100644 --- a/src/makeBaseApp/top/simpleBoot/ioc/st.cmd +++ b/src/makeBaseApp/top/simpleBoot/ioc/st.cmd@vxWorks @@ -1,6 +1,6 @@ # Example vxWorks startup file #Following must be added for many board support packages -#cd +#cd _TOP_/iocBoot/_IOC_ < cdCommands