finally fix problems with driver.makefile build using include src/CONFIG_STREAM
This commit is contained in:
11
GNUmakefile
11
GNUmakefile
@ -1,5 +1,5 @@
|
|||||||
|
# If you are not using the PSI build environment, this file can be removed.
|
||||||
ifeq ($(wildcard /ioc/tools/driver.makefile),)
|
ifeq ($(wildcard /ioc/tools/driver.makefile),)
|
||||||
$(warning It seems you do not have the PSI build environment. Remove GNUmakefile.)
|
|
||||||
include Makefile
|
include Makefile
|
||||||
else
|
else
|
||||||
include /ioc/tools/driver.makefile
|
include /ioc/tools/driver.makefile
|
||||||
@ -9,9 +9,14 @@ BUILDCLASSES += Linux
|
|||||||
|
|
||||||
DOCUDIR = documentation
|
DOCUDIR = documentation
|
||||||
|
|
||||||
|
ifdef EPICSVERSION
|
||||||
|
ifndef RECORDTYPES
|
||||||
PCRE=1
|
PCRE=1
|
||||||
ASYN=1
|
ASYN=1
|
||||||
-include src/CONFIG_STREAM
|
include src/CONFIG_STREAM
|
||||||
|
export RECORDTYPES BUSSES FORMATS
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
SOURCES += $(RECORDTYPES:%=src/dev%Stream.c)
|
SOURCES += $(RECORDTYPES:%=src/dev%Stream.c)
|
||||||
SOURCES += $(FORMATS:%=src/%Converter.cc)
|
SOURCES += $(FORMATS:%=src/%Converter.cc)
|
||||||
@ -32,7 +37,7 @@ streamReferences:
|
|||||||
|
|
||||||
export DBDFILES = streamSup.dbd
|
export DBDFILES = streamSup.dbd
|
||||||
streamSup.dbd:
|
streamSup.dbd:
|
||||||
@echo Creating $@
|
@echo Creating $@ from $(RECORDTYPES)
|
||||||
$(PERL) ../src/makedbd.pl $(RECORDTYPES) > $@
|
$(PERL) ../src/makedbd.pl $(RECORDTYPES) > $@
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
Reference in New Issue
Block a user