summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-sato/webkit/webkitgtk_2.28.2.bb12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.28.2.bb b/meta/recipes-sato/webkit/webkitgtk_2.28.2.bb
index 9cfec83ec7..cf6b2ffae7 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.28.2.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.28.2.bb
@@ -131,3 +131,15 @@ GI_DATA_ENABLED_libc-musl_armv7ve = "False"
131 131
132# Can't be built with ccache 132# Can't be built with ccache
133CCACHE_DISABLE = "1" 133CCACHE_DISABLE = "1"
134
135PACKAGE_PREPROCESS_FUNCS += "src_package_preprocess"
136src_package_preprocess () {
137 # Trim build paths from comments in generated sources to ensure reproducibility
138 sed -i -e "s,${WORKDIR},,g" \
139 ${B}/DerivedSources/webkit2gtk/webkit2/*.cpp \
140 ${B}/DerivedSources/ForwardingHeaders/JavaScriptCore/*.h \
141 ${B}/DerivedSources/JavaScriptCore/*.h \
142 ${B}/DerivedSources/JavaScriptCore/yarr/*.h \
143 ${B}/DerivedSources/MiniBrowser/*.c
144}
145