Files
meta-qt5-extra/extends-meta-qt5/qttools_git.bbappend
Andreas Müller b1f483be1f Move to new override syntax
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-08-16 00:03:30 +02:00

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)}"