Skip to content
Snippets Groups Projects
Commit 42a25789 authored by Jeong Han Lee's avatar Jeong Han Lee
Browse files

add common to support old EPICS base

parent a21ce242
No related branches found
No related tags found
No related merge requests found
...@@ -2,14 +2,36 @@ ...@@ -2,14 +2,36 @@
include ${REQUIRE_TOOLS}/driver.makefile include ${REQUIRE_TOOLS}/driver.makefile
COMMON:= common
ifeq ($(EPICS_VERSION)$(EPICS_REVISION)$(EPICS_MODIFICATION),3150)
# The MMIO definitions are included in EPICS Base >=3.15.1
HEADERS += $(COMMON)/os/default/epicsMMIO.h
HEADERS += $(COMMON)/epicsMMIODef.h
endif
ifeq ($(EPICS_VERSION)$(EPICS_REVISION),314)
HEADERS += $(COMMON)/os/default/epicsMMIO.h
HEADERS += $(COMMON)/os/default/epicsMMIODef.h
ifneq ($(findstring $(EPICS_MODIFICATION),1 2 3 4 5 6 7 8),)
HEADERS += $(COMMON)/epicsEndian.h
HEADERS += $(COMMON)/os/default/osdWireConfig.h
endif
endif
PCIAPP:= pciApp PCIAPP:= pciApp
HEADERS += $(PCIAPP)/devLibPCI.h HEADERS += $(PCIAPP)/devLibPCI.h
HEADERS += $(PCIAPP)/devLibPCIImpl.h HEADERS += $(PCIAPP)/devLibPCIImpl.h
SOURCES += $(wildcard $(PCIAPP)/devLib*.c) SOURCES += $(PCIAPP)/devLibPCI.c
SOURCES += $(PCIAPP)/devLibPCIStrings.c
SOURCES += $(PCIAPP)/os/Linux/devLibPCIOSD.c
SOURCES += $(PCIAPP)/pcish.c SOURCES += $(PCIAPP)/pcish.c
SOURCES_Linux += $(PCIAPP)/os/Linux/devLibPCIOSD.c
DBDS += $(PCIAPP)/epicspci.dbd DBDS += $(PCIAPP)/epicspci.dbd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment