mirror of
https://invent.kde.org/packaging/yocto-meta-kf5.git
synced 2026-02-23 18:09:40 +01:00
The previous hack of just copying the native tools into the target sysroot has several limitations: - it no longer works with relative RPATHs being used - it fails in the case of kpackage where we need the same tools for host and target
14 lines
336 B
Plaintext
14 lines
336 B
Plaintext
# Class for recipes using kcoreaddons host tools
|
|
|
|
do_compile_prepend() {
|
|
# desktoptojson needs to find installed service type files
|
|
export XDG_DATA_DIRS=${STAGING_DATADIR}:$XDG_DATA_DIRS
|
|
}
|
|
|
|
DEPENDS += " \
|
|
kcoreaddons \
|
|
kcoreaddons-native \
|
|
"
|
|
|
|
EXTRA_OECMAKE += " -DKF5_HOST_TOOLING=${STAGING_DIR_NATIVE}/${libdir}/cmake"
|