21 lines
710 B
Plaintext
21 lines
710 B
Plaintext
inherit cmake_lib
|
|
|
|
DEPENDS += "${BPN}-native"
|
|
|
|
|
|
# It's really time for us to publish cmake_lib.bbclass
|
|
SRC_URI:remove = " \
|
|
file://0002-linguist-tools-cmake-allow-overriding-the-location-f.patch \
|
|
"
|
|
|
|
# native ignore
|
|
CMAKE_ALIGN_SYSROOT:class-native[1] = "ignore"
|
|
CMAKE_ALIGN_SYSROOT:class-nativesdk[1] = "ignore"
|
|
|
|
# cross -> native binaries
|
|
CMAKE_ALIGN_SYSROOT[1] = "Qt5Help, -S${bindir}${QT_DIR_NAME}, -s${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}"
|
|
CMAKE_ALIGN_SYSROOT[2] = "Qt5LinguistTools, -S${bindir}${QT_DIR_NAME}, -s${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}"
|
|
|
|
# yeah I know yocto does not want us to change this
|
|
PACKAGECONFIG:append = "${@bb.utils.contains('BBFILE_COLLECTIONS', 'clang-layer', ' clang', '', d)}"
|