diff --git a/.gitignore b/.gitignore index cb2962b..36406e5 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ db dbd python _build +envPaths diff --git a/iocBoot/Makefile b/iocBoot/Makefile new file mode 100644 index 0000000..91e47d0 --- /dev/null +++ b/iocBoot/Makefile @@ -0,0 +1,6 @@ +TOP = .. +include $(TOP)/configure/CONFIG +DIRS += $(wildcard *ioc*) +DIRS += $(wildcard as*) +include $(CONFIG)/RULES_DIRS + diff --git a/iocBoot/iocweatherbnl/Makefile b/iocBoot/iocweatherbnl/Makefile new file mode 100644 index 0000000..79c4ce6 --- /dev/null +++ b/iocBoot/iocweatherbnl/Makefile @@ -0,0 +1,5 @@ +TOP = ../.. +include $(TOP)/configure/CONFIG +ARCH = linux-x86_64 +TARGETS = envPaths +include $(TOP)/configure/RULES.ioc diff --git a/weather.cmd b/iocBoot/iocweatherbnl/st.cmd similarity index 76% rename from weather.cmd rename to iocBoot/iocweatherbnl/st.cmd index 3da2eb8..3c80ec8 100755 --- a/weather.cmd +++ b/iocBoot/iocweatherbnl/st.cmd @@ -1,8 +1,12 @@ -#!./bin/linux-x86/softIocPy +#!../../bin/linux-x86/softIocPy + +< envPaths + +cd("$(TOP)") epicsEnvSet("http_proxy", "http://proxy:8888/") -epicsEnvSet("PYTHONPATH", "${PWD}/python") +epicsEnvSet("PYTHONPATH", "${TOP}/python") dbLoadDatabase("dbd/softIocPy.dbd") softIocPy_registerRecordDeviceDriver(pdbbase)