Pinned sinqMotor version
This commit is contained in:
21
Makefile
21
Makefile
@@ -1,4 +1,4 @@
|
|||||||
# Use the PSI build system
|
# Include the external Makefile
|
||||||
include /ioc/tools/driver.makefile
|
include /ioc/tools/driver.makefile
|
||||||
|
|
||||||
MODULE=turboPmac
|
MODULE=turboPmac
|
||||||
@@ -8,13 +8,12 @@ ARCH_FILTER=RHEL%
|
|||||||
|
|
||||||
# Additional module dependencies
|
# Additional module dependencies
|
||||||
REQUIRED+=motorBase
|
REQUIRED+=motorBase
|
||||||
REQUIRED+=sinqMotor
|
|
||||||
|
|
||||||
# Specify the version of motorBase we want to build against
|
# Specify the version of motorBase we want to build against
|
||||||
motorBase_VERSION=7.2.2
|
motorBase_VERSION=7.2.2
|
||||||
|
|
||||||
# Specify the version of sinqMotor we want to build against
|
# Specify the commit / tag of sinqMotor we want to statically link into this driver
|
||||||
sinqMotor_VERSION=mathis_s
|
SINQMOTOR = 0.1
|
||||||
|
|
||||||
# These headers allow to depend on this library for derived drivers.
|
# These headers allow to depend on this library for derived drivers.
|
||||||
HEADERS += src/pmacAsynIPPort.h
|
HEADERS += src/pmacAsynIPPort.h
|
||||||
@@ -22,14 +21,28 @@ HEADERS += src/turboPmacAxis.h
|
|||||||
HEADERS += src/turboPmacController.h
|
HEADERS += src/turboPmacController.h
|
||||||
|
|
||||||
# Source files to build
|
# Source files to build
|
||||||
|
SOURCES += sinqMotor/src/msgPrintControl.cpp
|
||||||
|
SOURCES += sinqMotor/src/sinqAxis.cpp
|
||||||
|
SOURCES += sinqMotor/src/sinqController.cpp
|
||||||
SOURCES += src/pmacAsynIPPort.c
|
SOURCES += src/pmacAsynIPPort.c
|
||||||
SOURCES += src/turboPmacAxis.cpp
|
SOURCES += src/turboPmacAxis.cpp
|
||||||
SOURCES += src/turboPmacController.cpp
|
SOURCES += src/turboPmacController.cpp
|
||||||
|
|
||||||
# Store the record files
|
# Store the record files
|
||||||
|
TEMPLATES += sinqMotor/db/asynRecord.db
|
||||||
|
TEMPLATES += sinqMotor/db/sinqMotor.db
|
||||||
TEMPLATES += db/turboPmac.db
|
TEMPLATES += db/turboPmac.db
|
||||||
|
|
||||||
# This file registers the motor-specific functions in the IOC shell.
|
# This file registers the motor-specific functions in the IOC shell.
|
||||||
|
DBDS += sinqMotor/src/sinqMotor.dbd
|
||||||
DBDS += src/turboPmac.dbd
|
DBDS += src/turboPmac.dbd
|
||||||
|
|
||||||
USR_CFLAGS += -Wall -Wextra -Weffc++ -Wunused-result -Werror # -Wpedantic // Does not work because EPICS macros trigger warnings
|
USR_CFLAGS += -Wall -Wextra -Weffc++ -Wunused-result -Werror # -Wpedantic // Does not work because EPICS macros trigger warnings
|
||||||
|
|
||||||
|
# Check out the correct version of sinqMotor and call this Makefile again with
|
||||||
|
# the originall install command
|
||||||
|
sinqinstall::
|
||||||
|
git submodule update --init --recursive
|
||||||
|
cd sinqMotor && git fetch --tags && git checkout $(SINQMOTOR)
|
||||||
|
cd ..
|
||||||
|
@$(MAKE) install
|
||||||
Submodule sinqMotor updated: 4d1c21fd74...5502c39219
Reference in New Issue
Block a user