From cbac2f12cdf63e6609c84408160f6325e7fa14d3 Mon Sep 17 00:00:00 2001 From: Herb Kuta Date: Mon, 15 Apr 2019 11:51:51 -0700 Subject: [PATCH] DRAFT Add conf/distro/{ros1,ros2}.conf, conf/distro/include/ros-common.inc --- conf/distro/include/ros-common.inc | 8 ++++++++ conf/distro/ros1.conf | 8 ++++++++ conf/distro/ros2.conf | 5 +++++ 3 files changed, 21 insertions(+) create mode 100644 conf/distro/include/ros-common.inc create mode 100644 conf/distro/ros1.conf create mode 100644 conf/distro/ros2.conf diff --git a/conf/distro/include/ros-common.inc b/conf/distro/include/ros-common.inc new file mode 100644 index 0000000..2a49f59 --- /dev/null +++ b/conf/distro/include/ros-common.inc @@ -0,0 +1,8 @@ +# OE DISTRO configuration settings common to both ROS 1 and ROS 2 distros. +# +# Copyright (c) 2019 LG Electronics, Inc. + +DISTRO_CODENAME = "${ROS_DISTRO}" +DISTRO_VERSION = "${ROS_DISTRO_METADATA_VERSION}" + +MAINTAINER = "Open Source Robotics Foundation, Inc. " diff --git a/conf/distro/ros1.conf b/conf/distro/ros1.conf new file mode 100644 index 0000000..f61f2e8 --- /dev/null +++ b/conf/distro/ros1.conf @@ -0,0 +1,8 @@ +# Copyright (c) 2019 LG Electronics, Inc. + +DISTRO_NAME = "Robot Operating System (ROS)" + +require conf/distro/include/ros-common.inc + +# Unfortunately, opkg requires Python 3. +# PNBLACKLIST[python3] ?= "Python 3 not supported for ROS 1" diff --git a/conf/distro/ros2.conf b/conf/distro/ros2.conf new file mode 100644 index 0000000..91f6dca --- /dev/null +++ b/conf/distro/ros2.conf @@ -0,0 +1,5 @@ +# Copyright (c) 2019 LG Electronics, Inc. + +DISTRO_NAME = "Robot Operating System 2 (ROS 2)" + +require conf/distro/include/ros-common.inc