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

[wip/talos-simulation] Can now handle user preference to use erbium packages or not.

parent d341e8df
No related branches found
No related tags found
No related merge requests found
......@@ -35,9 +35,14 @@ include ../../middleware/ros-comm/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.")
# PREFER.pal-distro gives the user the choice to compile
# over PAL packages or not.
ifeq (erbium,${PREFER.pal-distro})
ifeq (palerbium,${PALDISTRO})
# If yes then it does not make sense to continue
$(error "talos-simulation is useless on PAL erbium.")
endif
endif
include ../../motion/ros-control-toolbox/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