Skip to content
Snippets Groups Projects
Commit 10f2a29c authored by Olivier Stasse's avatar Olivier Stasse
Browse files

[wip/roscontrol-sot] Makefile can now switch between erbium and not erbium packages.

If PAL packages are installed on xenial
PREFER.pal-distro=erbium
is necessary for compiling.
parent 34852bf0
No related branches found
No related tags found
No related merge requests found
......@@ -55,12 +55,18 @@ include ../../wip/sysdep/pal-distro.mk
include ../../wip/pal-msgs/depend.mk
include ../../wip/sysdep/pal-distro.mk
ifeq (palerbium,${PALDISTRO})
CMAKE_PREFIX_PATH+=/opt/pal/erbium
SYSTEM_PREFIX+=/opt/pal/erbium
CXXFLAGS+="-I/opt/pal/erbium/include"
PKG_CONFIG_DIRS=/opt/pal/erbium/lib/pkgconfig
include ../../motion/ros-control-toolbox/depend.mk
ifeq (erbium,${PREFER.pal-distro})
ifeq (palerbium,${PALDISTRO})
CMAKE_PREFIX_PATH+=/opt/pal/erbium
SYSTEM_PREFIX+=/opt/pal/erbium
CXXFLAGS+="-I/opt/pal/erbium/include"
PKG_CONFIG_DIRS=/opt/pal/erbium/lib/pkgconfig
include ../../motion/ros-control-toolbox/depend.mk
else
include ../../wip/pal-hardware-interfaces/depend.mk
include ../../wip/prf-ros-control/depend.mk
include ../../wip/prf-ros-controllers/depend.mk
endif
else
include ../../wip/pal-hardware-interfaces/depend.mk
include ../../wip/prf-ros-control/depend.mk
......
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