From 0822638f77435b6eb18fce4e5063dbe08076f36a Mon Sep 17 00:00:00 2001 From: Olivier Stasse <ostasse@laas.fr> Date: Wed, 11 Jul 2018 17:56:13 +0200 Subject: [PATCH] [wip/talos-simulation] Detects PAL distro and makes no compiling --- talos-simulation/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/talos-simulation/Makefile b/talos-simulation/Makefile index 35ecc020..d47cc0b4 100644 --- a/talos-simulation/Makefile +++ b/talos-simulation/Makefile @@ -38,6 +38,14 @@ include ../../math/ros-geometry/depend.mk include ../../middleware/ros-actionlib/depend.mk include ../../middleware/ros-comm/depend.mk include ../../motion/ros-control-toolbox/depend.mk + +# Check if we on a pal distro +include ../../wip/sysdep/pal-distro.mk +ifeq (palerbium,${PALDISTRO}) + # If yes then it does not make sense to continue + $(error "talos-simulation is useless on PAL erbium.") +endif + include ../../wip/pal-hardware-gazebo/depend.mk include ../../wip/talos-robot/depend.mk include ../../wip/talos-moveit-config/depend.mk -- GitLab