Skip to content

Commit

Permalink
Merge pull request #42 from klauer/db_params_in_ioc_makefile
Browse files Browse the repository at this point in the history
Add DB_PARAMETERS to an obvious spot in Makefile.ioc
  • Loading branch information
klauer authored Apr 6, 2020
2 parents 612a290 + f1b3372 commit 00c7a62
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions iocBoot/templates/Makefile.ioc
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ PLC := {{ plc_name }}
PYTMC_OPTS :=
PREFIX := PLC:$(PLC)

# With two $$, as in $$(IOCNAME) below, this will be expanded in the
# environment of st.cmd:
DB_PARAMETERS := 'PREFIX=$(PREFIX):,IOCNAME=$$(IOCNAME)'

include $(IOC_TOP)/iocBoot/templates/Makefile.base

0 comments on commit 00c7a62

Please sign in to comment.