diff options
author | Shankho Boron Ghosh <shankhoghosh123@gmail.com> | 2021-08-13 18:41:32 +0530 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2021-10-18 10:53:46 +0000 |
commit | 098325d668eb2096dcd810bd24b25c81e24500db (patch) | |
tree | 582d634c6826ebab4e00b310cdeb2fa251818fa0 /meta-agl-ros2/recipes-ros2/ydlidar-ros2-sdk | |
parent | 8310c09541833f8a5d7f580830f63989a9789257 (diff) |
meta-agl-ros2: Support for ros2 minimal & ydlidar
v1 : Added support for ros2 in AGL and ydlidar driver support by creation of recipes for ydlidar driver and sdk and packagegroup-agl-ros2-minimal & packagegroup-agl-ros2-ydlidar. Concurrently, created a feature template to allow for BBLAYERS and local conf dependencies.
v2 : Removed ALLOW_EMPTY_${PN} = "1" and trailing whitespaces. Set AGL_META_PYTHON = "${METADIR}/external/meta-openembedded/meta-python" otherwise multiple layers might include meta-python and bitbake will choke if a folder is present twice.
v3 : Removed trailing whitespaces. Removed AGL_META_PYTHON, just set it.
v4 : Rebased
v5 : Converted to new syntax: RDEPENDS:${PN}, do_install:append(), IMAGE_INSTALL:append
v6 : Added ${METADIR}/meta-agl-devel/meta-agl-ros2 to bblayers
configuration.
v7 : Added meta-ros-backports-hardknott layer.
v8 : Added packagegroup-agl-ros-native-qt5 to remove dependency to
agl-demo.
Signed-off-by: Shankho Boron Ghosh <shankhoghosh123@gmail.com>
Change-Id: If169fde42e3f51571e2776adc574b7f8437a61fa
Diffstat (limited to 'meta-agl-ros2/recipes-ros2/ydlidar-ros2-sdk')
-rw-r--r-- | meta-agl-ros2/recipes-ros2/ydlidar-ros2-sdk/ydlidar-ros2-sdk_1.4.7.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-agl-ros2/recipes-ros2/ydlidar-ros2-sdk/ydlidar-ros2-sdk_1.4.7.bb b/meta-agl-ros2/recipes-ros2/ydlidar-ros2-sdk/ydlidar-ros2-sdk_1.4.7.bb new file mode 100644 index 00000000..4f586f30 --- /dev/null +++ b/meta-agl-ros2/recipes-ros2/ydlidar-ros2-sdk/ydlidar-ros2-sdk_1.4.7.bb @@ -0,0 +1,24 @@ +SUMMARY = "YDLIDAR-SDK" +DESCRIPTION = "YDLIDAR-SDK as it a dependency for ydlidar_ros2_driver." +AUTHOR = "Shankho Boron Ghosh" +ROS_AUTHOR = "Shankho Boron Ghosh" +HOMEPAGE = "https://github.com/YDLIDAR/YDLIDAR/YDLidar-SDK" +SECTION = "devel" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4e320231d59c825e45dbfda066af29c9" + +SRC_URI = "git://github.com/YDLIDAR/YDLidar-SDK.git;protocol=https" + +SRCREV = "8b287ed831db0892f51793650b438790442fa09c" + +S = "${WORKDIR}/git" + +inherit cmake + +FILES_${PN} += "${datadir} ${prefix}/startup" + +do_install:append() { + sed -i -e 's|${DEBUG_PREFIX_MAP}||g; s|--sysroot=${STAGING_DIR_TARGET}||g' ${D}${libdir}/pkgconfig/*.pc +} + +RDEPENDS:${PN} += "bash"
\ No newline at end of file |