Commit ee2bd0f1 authored by Guilhem Saurel's avatar Guilhem Saurel

[wip/py-prf-ros-control] add a PREFER.pal helper for erbium

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 dcb032ce
......@@ -11,9 +11,9 @@ endif
ifeq (+,$(PAL_GAZEBO_PLUGINS_DEPEND_MK)) # ---------------------------------
include ../../mk/robotpkg.prefs.mk # for OS_VERSION
include ../../wip/py-prf-ros-control/depend.common
PREFER.pal-gazebo-plugins?= robotpkg
PREFER.pal-gazebo-plugins?= ${PREFER.pal}
DEPEND_USE+= pal-gazebo-plugins
ifneq (,$(filter 16.04%,${OS_VERSION}))
......
......@@ -11,7 +11,9 @@ endif
ifeq (+,$(PAL_GAZEBO_WORLDS_DEPEND_MK)) # ---------------------------------
PREFER.pal-gazebo-worlds?= robotpkg
include ../../wip/py-prf-ros-control/depend.common
PREFER.pal-gazebo-worlds?= ${PREFER.pal}
DEPEND_USE+= pal-gazebo-worlds
......
......@@ -11,7 +11,9 @@ endif
ifeq (+,$(PAL_GRIPPER_DEPEND_MK)) # ----------------------------------
PREFER.pal-gripper?= robotpkg
include ../../wip/py-prf-ros-control/depend.common
PREFER.pal-gripper?= ${PREFER.pal}
DEPEND_USE+= pal-gripper
......
......@@ -11,9 +11,9 @@ endif
ifeq (+,$(PAL_HARDWARE_GAZEBO_DEPEND_MK)) # ---------------------------------
include ../../mk/robotpkg.prefs.mk # for OS_VERSION
include ../../wip/py-prf-ros-control/depend.common
PREFER.pal-hardware-gazebo?= robotpkg
PREFER.pal-hardware-gazebo?= ${PREFER.pal}
DEPEND_USE+= pal-hardware-gazebo
ifneq (,$(filter 16.04%,${OS_VERSION}))
......
......@@ -11,7 +11,9 @@ endif
ifeq (+,$(PAL_HWIFACES_DEPEND_MK)) # ---------------------------------
PREFER.pal-hardware-interfaces?= robotpkg
include ../../wip/py-prf-ros-control/depend.common
PREFER.pal-hardware-interfaces?= ${PREFER.pal}
DEPEND_USE+= pal-hardware-interfaces
......
......@@ -11,7 +11,9 @@ endif
ifeq (+,$(PAL_MSGS_DEPEND_MK)) # ---------------------------------
PREFER.pal-msgs?= robotpkg
include ../../wip/py-prf-ros-control/depend.common
PREFER.pal-msgs?= ${PREFER.pal}
DEPEND_USE+= pal-msgs
......
......@@ -11,7 +11,9 @@ endif
ifeq (+,$(PAL_NAVIGATION_SM_DEPEND_MK)) # ----------------------------------
PREFER.pal-navigation-sm?= robotpkg
include ../../wip/py-prf-ros-control/depend.common
PREFER.pal-navigation-sm?= ${PREFER.pal}
DEPEND_USE+= pal-navigation-sm
......
......@@ -11,7 +11,9 @@ endif
ifeq (+,$(PAL_TRANSMISSIONS_DEPEND_MK)) # --------------------------------
PREFER.pal-transmissions?= robotpkg
include ../../wip/py-prf-ros-control/depend.common
PREFER.pal-transmissions?= ${PREFER.pal}
DEPEND_USE+= pal-transmissions
......
......@@ -11,7 +11,9 @@ endif
ifeq (+,$(PAL_WSG_GRIPPER_DEPEND_MK)) # ---------------------------------
PREFER.pal-wsg-gripper?= robotpkg
include ../../wip/py-prf-ros-control/depend.common
PREFER.pal-wsg-gripper?= ${PREFER.pal}
DEPEND_USE+= pal-wsg-gripper
......
......@@ -11,7 +11,9 @@ endif
ifeq (+,$(PRF_ROBOTICSGRP_GAZEBO_PLUGINS_DEPEND_MK)) # ----------------------------------
PREFER.prf-roboticsgroup-gazebo-plugins?= robotpkg
include ../../wip/py-prf-ros-control/depend.common
PREFER.prf-roboticsgroup-gazebo-plugins?= ${PREFER.pal}
DEPEND_USE+= prf-roboticsgroup-gazebo-plugins
......
......@@ -11,7 +11,9 @@ endif
ifeq (+,$(TELEOP_TOOLS_DEPEND_MK)) # ----------------------------------
PREFER.teleop-tools?= robotpkg
include ../../wip/py-prf-ros-control/depend.common
PREFER.prf-teleop-tools?= ${PREFER.pal}
DEPEND_USE+= prf-teleop-tools
......
......@@ -11,14 +11,10 @@ endif
ifeq (+,$(PY_PRF_GAZEBO_ROS_PKGS_DEPEND_MK)) # ---------------------------
include ../../mk/robotpkg.prefs.mk # for OS_VERSION
include ../../wip/py-prf-ros-control/depend.common
include ../../mk/sysdep/python.mk # for PKGTAG.python
ifneq (,$(filter 16.04.pal 18.04.pal,${OS_VERSION}))
PREFER.py-prf-gazebo-ros-pkgs?= system
else
PREFER.py-prf-gazebo-ros-pkgs?= robotpkg
endif
PREFER.py-prf-gazebo-ros-pkgs?= ${PREFER.pal}
DEPEND_USE+= py-prf-gazebo-ros-pkgs
......
# robotpkg depend.common for: wip/py-prf-ros-control
# Created: Guilhem Saurel on Tue, 9 Jun 2020
#
# This file ease the choice for system vs robotpkg packages for PAL & PRF
include ../../mk/robotpkg.prefs.mk # for OS_VERSION
ifneq (,$(filter %.pal,${OS_VERSION}))
PREFER.pal?= system
else
PREFER.pal?= robotpkg
endif
......@@ -11,11 +11,9 @@ endif
ifeq (+,$(PY_PRF_ROS_CONTROL_DEPEND_MK)) # ----------------------------------
ifneq (,$(filter 16.04.pal 18.04.pal,${OS_VERSION}))
PREFER.py-prf-ros-control?= system
else
PREFER.py-prf-ros-control?= robotpkg
endif
include ../../wip/py-prf-ros-control/depend.common
PREFER.py-prf-ros-control?= ${PREFER.pal}
DEPEND_USE+= py-prf-ros-control
......
......@@ -11,7 +11,9 @@ endif
ifeq (+,$(PY_PRF_ROS_CONTROLLERS_DEPEND_MK)) # ----------------------------------
PREFER.ros-controllers?= robotpkg
include ../../wip/py-prf-ros-control/depend.common
PREFER.py-prf-ros-controllers?= ${PREFER.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