summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorRoman Stratiienko <r.stratiienko@gmail.com>2021-08-10 20:22:36 +0300
committerMarge Bot <eric+marge@anholt.net>2021-08-16 09:18:46 +0000
commit21de785562b05ec08252b0e16634a125646faa63 (patch)
tree6ac241b7fe27d70ba48f6f77a597561ca3f8bc9e /android
parentc3775ac50740161b28bd04cb0c07d739d8db3a2f (diff)
downloadmesa-21de785562b05ec08252b0e16634a125646faa63.tar.gz
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@gmail.com> Tested-by: Mauro Rossi <issor.oruam@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12304>
Diffstat (limited to 'android')
-rw-r--r--android/mesa3d_cross.mk6
1 files 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 $@