17 lines
633 B
C++
17 lines
633 B
C++
# Copyright (c) 2019 LG Electronics, Inc.
|
|
|
|
# ros-workspace is a ament dependent package but they use 'cmake' as build_type.
|
|
ROS_BUILD_TYPE = "ament_cmake"
|
|
ROS_BUILD_DEPENDS_remove = "ament-cmake-core"
|
|
ROS_BUILD_DEPENDS_remove = "ament-package"
|
|
ROS_BUILDTOOL_DEPENDS += " \
|
|
ament-cmake-core-native \
|
|
ament-package-native \
|
|
"
|
|
|
|
# The package find files from CMAKE_INSTALL_PREFIX that is just absolute "/usr".
|
|
# Need to pass the native sysroot folder path.
|
|
export STAGING_DIR_NATIVE
|
|
FILESEXTRAPATHS_prepend := "${THISDIR}/ros-workspace:"
|
|
SRC_URI_append = " file://0001-Don-t-use-CMAKE_INSTALL_PREFIX-as-sysroot-for-cross-.patch"
|