Commit dde434ae authored by Guilhem Saurel's avatar Guilhem Saurel

[wip/py-prf-ros-control] add a SYSTEM_PREFIX.pal

Affected packages:

- wip/pal-gazebo-plugins
- wip/pal-gazebo-worlds
- wip/pal-gripper
- wip/pal-hardware-gazebo
- wip/pal-hardware-interfaces
- wip/pal-msgs
- wip/pal-navigation-sm
- wip/pal-transmissions
- wip/pal-wsg-gripper
- wip/prf-roboticsgroup-gazebo-plugins
- wip/prf-teleop-tools
- wip/py-prf-gazebo-ros-pkgs
- wip/py-prf-ros-control
- wip/py-prf-ros-controllers
parent ee2bd0f1
......@@ -13,7 +13,8 @@ ifeq (+,$(PAL_GAZEBO_PLUGINS_DEPEND_MK)) # ---------------------------------
include ../../wip/py-prf-ros-control/depend.common
PREFER.pal-gazebo-plugins?= ${PREFER.pal}
PREFER.pal-gazebo-plugins?= ${PREFER.pal}
SYSTEM_PREFIX.pal-gazebo-plugins?= ${SYSTEM_PREFIX.pal}
DEPEND_USE+= pal-gazebo-plugins
ifneq (,$(filter 16.04%,${OS_VERSION}))
......
......@@ -13,7 +13,8 @@ ifeq (+,$(PAL_GAZEBO_WORLDS_DEPEND_MK)) # ---------------------------------
include ../../wip/py-prf-ros-control/depend.common
PREFER.pal-gazebo-worlds?= ${PREFER.pal}
PREFER.pal-gazebo-worlds?= ${PREFER.pal}
SYSTEM_PREFIX.pal-gazebo-worlds?= ${SYSTEM_PREFIX.pal}
DEPEND_USE+= pal-gazebo-worlds
......
......@@ -13,7 +13,8 @@ ifeq (+,$(PAL_GRIPPER_DEPEND_MK)) # ----------------------------------
include ../../wip/py-prf-ros-control/depend.common
PREFER.pal-gripper?= ${PREFER.pal}
PREFER.pal-gripper?= ${PREFER.pal}
SYSTEM_PREFIX.pal-gripper?= ${SYSTEM_PREFIX.pal}
DEPEND_USE+= pal-gripper
......
......@@ -14,6 +14,7 @@ ifeq (+,$(PAL_HARDWARE_GAZEBO_DEPEND_MK)) # ---------------------------------
include ../../wip/py-prf-ros-control/depend.common
PREFER.pal-hardware-gazebo?= ${PREFER.pal}
SYSTEM_PREFIX.pal-hardware-gazebo?= ${SYSTEM_PREFIX.pal}
DEPEND_USE+= pal-hardware-gazebo
ifneq (,$(filter 16.04%,${OS_VERSION}))
......
......@@ -14,6 +14,7 @@ ifeq (+,$(PAL_HWIFACES_DEPEND_MK)) # ---------------------------------
include ../../wip/py-prf-ros-control/depend.common
PREFER.pal-hardware-interfaces?= ${PREFER.pal}
SYSTEM_PREFIX.pal-hardware-interfaces?= ${SYSTEM_PREFIX.pal}
DEPEND_USE+= pal-hardware-interfaces
......
......@@ -13,7 +13,8 @@ ifeq (+,$(PAL_MSGS_DEPEND_MK)) # ---------------------------------
include ../../wip/py-prf-ros-control/depend.common
PREFER.pal-msgs?= ${PREFER.pal}
PREFER.pal-msgs?= ${PREFER.pal}
SYSTEM_PREFIX.pal-msgs?= ${SYSTEM_PREFIX.pal}
DEPEND_USE+= pal-msgs
......
......@@ -13,7 +13,8 @@ ifeq (+,$(PAL_NAVIGATION_SM_DEPEND_MK)) # ----------------------------------
include ../../wip/py-prf-ros-control/depend.common
PREFER.pal-navigation-sm?= ${PREFER.pal}
PREFER.pal-navigation-sm?= ${PREFER.pal}
SYSTEM_PREFIX.pal-navigation-sm?= ${SYSTEM_PREFIX.pal}
DEPEND_USE+= pal-navigation-sm
......
......@@ -13,7 +13,8 @@ ifeq (+,$(PAL_TRANSMISSIONS_DEPEND_MK)) # --------------------------------
include ../../wip/py-prf-ros-control/depend.common
PREFER.pal-transmissions?= ${PREFER.pal}
PREFER.pal-transmissions?= ${PREFER.pal}
SYSTEM_PREFIX.pal-transmissions?= ${SYSTEM_PREFIX.pal}
DEPEND_USE+= pal-transmissions
......
......@@ -14,6 +14,7 @@ ifeq (+,$(PAL_WSG_GRIPPER_DEPEND_MK)) # ---------------------------------
include ../../wip/py-prf-ros-control/depend.common
PREFER.pal-wsg-gripper?= ${PREFER.pal}
SYSTEM_PREFIX.pal-wsg-gripper?= ${SYSTEM_PREFIX.pal}
DEPEND_USE+= pal-wsg-gripper
......
......@@ -13,7 +13,8 @@ ifeq (+,$(PRF_ROBOTICSGRP_GAZEBO_PLUGINS_DEPEND_MK)) # -------------------------
include ../../wip/py-prf-ros-control/depend.common
PREFER.prf-roboticsgroup-gazebo-plugins?= ${PREFER.pal}
PREFER.prf-roboticsgroup-gazebo-plugins?= ${PREFER.pal}
SYSTEM_PREFIX.prf-roboticsgroup-gazebo-plugins?= ${SYSTEM_PREFIX.pal}
DEPEND_USE+= prf-roboticsgroup-gazebo-plugins
......
......@@ -13,7 +13,8 @@ ifeq (+,$(TELEOP_TOOLS_DEPEND_MK)) # ----------------------------------
include ../../wip/py-prf-ros-control/depend.common
PREFER.prf-teleop-tools?= ${PREFER.pal}
PREFER.prf-teleop-tools?= ${PREFER.pal}
SYSTEM_PREFIX.prf-teleop-tools?= ${SYSTEM_PREFIX.pal}
DEPEND_USE+= prf-teleop-tools
......
......@@ -14,7 +14,8 @@ ifeq (+,$(PY_PRF_GAZEBO_ROS_PKGS_DEPEND_MK)) # ---------------------------
include ../../wip/py-prf-ros-control/depend.common
include ../../mk/sysdep/python.mk # for PKGTAG.python
PREFER.py-prf-gazebo-ros-pkgs?= ${PREFER.pal}
PREFER.py-prf-gazebo-ros-pkgs?= ${PREFER.pal}
SYSTEM_PREFIX.py-prf-gazebo-ros-pkgs?= ${SYSTEM_PREFIX.pal}
DEPEND_USE+= py-prf-gazebo-ros-pkgs
......
......@@ -7,7 +7,14 @@
include ../../mk/robotpkg.prefs.mk # for OS_VERSION
ifneq (,$(filter %.pal,${OS_VERSION}))
PREFER.pal?= system
PREFER.pal?= system
ifneq (,$(filter 14.04.pal,${OS_VERSION}))
PAL_DISTRO?= dubnium
else ifneq (,$(filter 16.04.pal,${OS_VERSION}))
PAL_DISTRO?= erbium
endif
SYSTEM_PREFIX.pal?= /opt/pal/${PAL_DISTRO} ${SYSTEM_PREFIX}
else
PREFER.pal?= robotpkg
SYSTEM_PREFIX.pal?= ${SYSTEM_PREFIX}
endif
......@@ -13,7 +13,8 @@ ifeq (+,$(PY_PRF_ROS_CONTROL_DEPEND_MK)) # ----------------------------------
include ../../wip/py-prf-ros-control/depend.common
PREFER.py-prf-ros-control?= ${PREFER.pal}
PREFER.py-prf-ros-control?= ${PREFER.pal}
SYSTEM_PREFIX.py-prf-ros-control?= ${SYSTEM_PREFIX.pal}
DEPEND_USE+= py-prf-ros-control
......
......@@ -13,7 +13,8 @@ ifeq (+,$(PY_PRF_ROS_CONTROLLERS_DEPEND_MK)) # ---------------------------------
include ../../wip/py-prf-ros-control/depend.common
PREFER.py-prf-ros-controllers?= ${PREFER.pal}
PREFER.py-prf-ros-controllers?= ${PREFER.pal}
SYSTEM_PREFIX.py-prf-ros-controllers?= ${SYSTEM_PREFIX.pal}
DEPEND_USE+= py-prf-ros-controllers
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment