Mesa (main): AOSP: Update timestamps of target binaries

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Aug 16 09:19:42 UTC 2021


Module: Mesa
Branch: main
Commit: 21de785562b05ec08252b0e16634a125646faa63
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=21de785562b05ec08252b0e16634a125646faa63

Author: Roman Stratiienko <r.stratiienko at gmail.com>
Date:   Tue Aug 10 20:22:36 2021 +0300

AOSP: Update timestamps of target binaries

Fixes warning during the build and unnecessary rule execution:
***
ninja: Missing `restat`? An output file is older than the most recent input:
***

Fixes: 8621bd8d5e67 ("android: Add scripts to build using meson")
Signed-off-by: Roman Stratiienko <r.stratiienko at gmail.com>
Tested-by: Mauro Rossi <issor.oruam at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12304>

---

 android/mesa3d_cross.mk | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/android/mesa3d_cross.mk b/android/mesa3d_cross.mk
index da63cc9393f..fcb4d938f42 100644
--- a/android/mesa3d_cross.mk
+++ b/android/mesa3d_cross.mk
@@ -272,12 +272,13 @@ $(MESON_OUT_DIR)/install/.install.timestamp: $(MESON_OUT_DIR)/.build.timestamp
 	touch $@
 
 $($(M_TARGET_PREFIX)MESA3D_LIBGBM_BIN) $(MESA3D_GLES_BINS): $(MESON_OUT_DIR)/install/.install.timestamp
-	echo "Build $@"\
+	echo "Build $@"
+	touch $@
 
 define vulkan_target
 $(M_TARGET_PREFIX)MESA3D_VULKAN_$1_BIN := $(MESON_OUT_DIR)/install/usr/local/lib/libvulkan_$(MESA_VK_LIB_SUFFIX_$1).so
 $(MESON_OUT_DIR)/install/usr/local/lib/libvulkan_$(MESA_VK_LIB_SUFFIX_$1).so: $(MESON_OUT_DIR)/install/.install.timestamp
-	echo $@
+	touch $(MESON_OUT_DIR)/install/usr/local/lib/libvulkan_$(MESA_VK_LIB_SUFFIX_$1).so
 
 endef
 
@@ -292,3 +293,4 @@ $($(M_TARGET_PREFIX)TARGET_OUT_VENDOR_SHARED_LIBRARIES)/dri/.symlinks.timestamp:
 
 $($(M_TARGET_PREFIX)MESA3D_GALLIUM_DRI_BIN): $(TARGET_OUT_VENDOR)/$(MESA3D_LIB_DIR)/dri/.symlinks.timestamp
 	echo "Build $@"
+	touch $@



More information about the mesa-commit mailing list