commit ad0b678112d1a1ba0a0a0e2d30f4b8527451825e Author: Nicolas Date: Sun Jan 24 16:36:08 2021 +0100 new bitbake recipe for robot diff --git a/COPYING.MIT b/COPYING.MIT new file mode 100644 index 0000000..fb950dc --- /dev/null +++ b/COPYING.MIT @@ -0,0 +1,17 @@ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e57d3b9 --- /dev/null +++ b/LICENSE @@ -0,0 +1,5 @@ +All metadata files (including, but not limited to bb, bbappend, +bbclass, inc and conf files) are MIT licensed unless otherwise stated. +Source code included in tree for individual recipes is under the +LICENSE stated in the associated recipe (.bb file) unless otherwise +stated. diff --git a/README b/README new file mode 100644 index 0000000..5856536 --- /dev/null +++ b/README @@ -0,0 +1,51 @@ +This README file contains information on the contents of the meta-opendds layer. + +Please see the corresponding sections below for details. + +Dependencies +============ + + URI: https://git.yoctoproject.org/git/poky/meta + branch: rocko + + +Patches +======= + +Please submit any patches against the meta-opendds layer via the pull-request +mechanism on github. + +Maintainer: Keith Derrick + +Table of Contents +================= + + I. Adding the meta-opendds layer to your build + II. Misc + + +I. Adding the meta-opendds layer to your build +================================================= + +Run 'bitbake-layers add-layer meta-opendds' + +II. Misc +======== + +The layer contains two recipes for OpenDDS: one versioned, one not. + +The unversioned recipe is provided to allow clients, via a bbappend, to +build - for example - the HEAD of the master branch or some other version. + +To use this unversioned recipe, add the following to your local.conf or +distro configuration file. + + + PREFERRED_VERSION_opendds="1.0+git%" + PREFERRED_VERSION_opendds-native="1.0+git%" + PREFERRED_VERSION_nativesdk-opendds="1.0+git%" + +Note that simply providing a different branch and SRCREV may be insufficient. +If your desired commit is significantly newer than that used for the versioned +recipe, then the generic build instructions may be insufficient or incorrect. + diff --git a/conf/layer.conf b/conf/layer.conf new file mode 100644 index 0000000..0552145 --- /dev/null +++ b/conf/layer.conf @@ -0,0 +1,15 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have recipes-* directories, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "meta-robot" +BBFILE_PATTERN_meta-robot = "^${LAYERDIR}/" +BBFILE_PRIORITY_meta-robot = "6" + +LAYERSERIES_COMPAT_robot-layer = "thud warrior zeus" +LAYERDEPENDS_robot-layer = "core" + +LICENSE_PATH += "${LAYERDIR}/licenses" diff --git a/lalicence b/lalicence new file mode 100644 index 0000000..fb950dc --- /dev/null +++ b/lalicence @@ -0,0 +1,17 @@ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/licenses/robot b/licenses/robot new file mode 100644 index 0000000..e743a00 --- /dev/null +++ b/licenses/robot @@ -0,0 +1,50 @@ +OpenDDS (Licensed Product) is protected by copyright, and is +distributed under the following terms. + +OpenDDS is an open source implementation of the Object Management Group +(OMG) Data Distribution Service (DDS), developed and copyrighted by +Object Computing Incorporated (OCI). OpenDDS is both a multi-language +and multi-platform implementation. The OMG DDS specification is intended +to be suitable for systems whose requirements include real-time, high +volume, robustness, failure tolerant data distribution utilizing a +publish and subscribe model. + +Since OpenDDS is open source and free of licensing fees, you are free +to use, modify, and distribute the source code, as long as you include +this copyright statement. + +In particular, you can use OpenDDS to build proprietary software and +are under no obligation to redistribute any of your source code that +is built using OpenDDS. Note however, that you may not do anything to +the OpenDDS code, such as copyrighting it yourself or claiming +authorship of the OpenDDS code, that will prevent OpenDDS from being +distributed freely using an open source development model. + +Warranty + +LICENSED PRODUCT IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND +INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE, NON-INFRINGEMENT, OR ARISING FROM A COURSE OF +DEALING, USAGE OR TRADE PRACTICE. + +Support + +LICENSED PRODUCT IS PROVIDED WITH NO SUPPORT AND WITHOUT ANY +OBLIGATION ON THE PART OF OCI OR ANY OF ITS SUBSIDIARIES OR AFFILIATES +TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. + +Support may be available from OCI to users who have agreed to a +support contract. + +Liability + +OCI OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY +WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY +PATENTS BY LICENSED PRODUCT OR ANY PART THEREOF. + +IN NO EVENT WILL OCI OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE +LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND +CONSEQUENTIAL DAMAGES, EVEN IF OCI HAS BEEN ADVISED OF THE POSSIBILITY +OF SUCH DAMAGES. + +OpenDDS copyright OCI. St. Louis MO USA, 2005 diff --git a/recipes-connectivity/robot/robot.bb b/recipes-connectivity/robot/robot.bb new file mode 100644 index 0000000..97f56f9 --- /dev/null +++ b/recipes-connectivity/robot/robot.bb @@ -0,0 +1,22 @@ +SUMMARY = "The canonical example of init scripts" +SECTION = "base" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=22cd8fcef3454a96dde3f9f8d7274aae" +SRCREV = "7ca41f41cb82c6f6723e26912a1eb8c4cb9eb8ad" +SRC_BRANCH ??= "test_recipe_bitbake" +SRC_URI = "git://github.com/NicoDAO/lerobot.git;protocol=https;branch=${SRC_BRANCH}" +#PV = "git${SRCPV}" + +S = "${WORKDIR}/git" + +do_compile () { +# ${CC} ${CFLAGS} ${LDFLAGS} ${WORKDIR}/skeleton_test.c -o ${WORKDIR}/skeleton-test +} + +do_install () { + +} + +RDEPENDS_${PN} = "initscripts" + +CONFFILES_${PN} += "${sysconfdir}/init.d/skeleton"