solid: Remove buildpaths in preprocessor annotations
The QMake build system adds comments to the files to show where code is included from. We remove these references to the build machine to avoid QA warnings about unreproducible builds. Signed-off-by: Rob Woolley <rob.woolley@windriver.com>
This commit is contained in:
committed by
Andreas Müller
parent
cbead7cf0a
commit
da181ac2e5
@@ -14,6 +14,14 @@ DEPENDS += "bison-native qtdeclarative"
|
||||
PV = "${KF5_VERSION}"
|
||||
SRC_URI[sha256sum] = "7057825d5de721858af9be698a7114cd45e33bee7c06006a8ec68c05bf141a7a"
|
||||
|
||||
do_install:prepend() {
|
||||
# Remove references to buildmachine paths
|
||||
sed -i -e "s:${S}:${prefix}:g" ${B}/src/solid/predicate_parser.h
|
||||
sed -i -e "s:${S}:${prefix}:g" ${B}/src/solid/predicate_parser.c
|
||||
sed -i -e "s:${B}:${prefix}:g" ${B}/src/solid/predicate_lexer.c
|
||||
}
|
||||
|
||||
|
||||
FILES:${PN} += "${OE_QMAKE_PATH_QML}"
|
||||
|
||||
RRECOMMENDS:${PN} += "udisks2"
|
||||
|
||||
Reference in New Issue
Block a user