summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/Makefile.sources
diff options
context:
space:
mode:
authorEmil Velikov <emmil.velikov@collabora.com>2016-07-06 16:18:21 +0100
committerMark Janes <mark.a.janes@intel.com>2016-07-06 10:19:19 -0700
commit9618e2a24c18b5bbc9ff872d1f6870261d14dee5 (patch)
treedf94a809990c8a152bafd7784da8fad8d6d08870 /src/intel/vulkan/Makefile.sources
parent64d35f817afc3106684dd74491b14be4d676cb88 (diff)
downloadexternal_mesa3d-9618e2a24c18b5bbc9ff872d1f6870261d14dee5.zip
external_mesa3d-9618e2a24c18b5bbc9ff872d1f6870261d14dee5.tar.gz
external_mesa3d-9618e2a24c18b5bbc9ff872d1f6870261d14dee5.tar.bz2
anv: vulkan: remove the anv_device.$(OBJEXT) rule
Atm the actual rule will expand to foo.o which is used for static libraries only. Thus the automake manual recommendation [to use OBJEXT] won't help us, since since we're working with a shared library. Thus let's 'demote' the file and add it back to BUILT_SOURCES. This will manage all the complexity for us, at the (existing expense) of working only with the all, check and install targets. The crazy (why the issue was hard to spot): If the dependencies (.deps/*.Plo) are already created one can alter the anv_device.$(OBJEXT) line and/or nuke it all together. That won't lead to any warnings/issues, even though the Makefile is regenerated. Moral of the story: Always rm -rf top_builddir or don't resolve the dependencies manually and use BUILT_SOURCES. Cc: "12.0" <mesa-stable@lists.freedesktop.org> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96825 Fixes: d7a604c3f7a ("anv: use cache uuid based on the build timestamp.") Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Tested-by: Mark Janes <mark.a.janes@intel.com>
Diffstat (limited to 'src/intel/vulkan/Makefile.sources')
-rw-r--r--src/intel/vulkan/Makefile.sources3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intel/vulkan/Makefile.sources b/src/intel/vulkan/Makefile.sources
index aa1459a..7303995 100644
--- a/src/intel/vulkan/Makefile.sources
+++ b/src/intel/vulkan/Makefile.sources
@@ -66,7 +66,8 @@ VULKAN_GEM_STUB_FILES := \
VULKAN_GENERATED_FILES := \
anv_entrypoints.c \
- anv_entrypoints.h
+ anv_entrypoints.h \
+ anv_timestamp.h
GEN7_FILES := \