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