qttools: Make sure package is usable with per recipe sysroot.
Don't hardcode path to host binaries in produced cmake files. Use paths passed to cmake when it's invoked instead. Signed-off-by: Piotr Tworek <tworaz@tworaz.net>
This commit is contained in:
committed by
Andreas Müller
parent
5f214776bf
commit
8263704a31
@@ -10,7 +10,8 @@ SRC_URI_remove = " \
|
||||
|
||||
# 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}, -S${STAGING_BINDIR_NATIVE}"
|
||||
CMAKE_ALIGN_SYSROOT[2] = "Qt5LinguistTools, -S${bindir}, -S${STAGING_BINDIR_NATIVE}"
|
||||
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}"
|
||||
|
||||
Reference in New Issue
Block a user