aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbenedikt-mueller-zeiss <112862187+benedikt-mueller-zeiss@users.noreply.github.com>2022-09-15 10:57:17 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2022-09-19 13:57:43 +0200
commit58201830f230ed96e28a608a1325b8c459b7e168 (patch)
treeb46b63653531e786325c141095aa77ca7d23e3be
parent9287d6355940ca24ce62bf0e18fcdf83050cf795 (diff)
qmake5_base: Remove QMAKE_PRL_BUILD_DIR from prl filesupstream/jansa/master
Reduce warnings from buildpaths QA test (contains reference to TMPDIR) by removing QMAKE_PRL_BUILD_DIR from prl files. Same as in meta-qt6: https://code.qt.io/cgit/yocto/meta-qt6.git/commit/?id=8fb6c082 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--classes/qmake5_base.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/qmake5_base.bbclass b/classes/qmake5_base.bbclass
index 459d2dae..ac663322 100644
--- a/classes/qmake5_base.bbclass
+++ b/classes/qmake5_base.bbclass
@@ -246,7 +246,8 @@ qmake5_base_do_install() {
# Replace host paths with qmake built-in properties
find ${D} \( -name "*.pri" -or -name "*.prl" \) -exec \
sed -i -e 's|${STAGING_DIR_NATIVE}|$$[QT_HOST_PREFIX/get]|g' \
- -e 's|${STAGING_DIR_HOST}|$$[QT_SYSROOT]|g' {} \;
+ -e 's|${STAGING_DIR_HOST}|$$[QT_SYSROOT]|g' {} \
+ -e '/QMAKE_PRL_BUILD_DIR/d' {} \;
# Replace host paths with pkg-config built-in variable
find ${D} -name "*.pc" -exec \