On 22 June 2016 at 21:02, Jason Ekstrand <ja...@jlekstrand.net> wrote:
>> @@ -131,7 +131,14 @@ anv_entrypoints.c : anv_entrypoints_gen.py >> $(vulkan_include_HEADERS) >> $(AM_V_GEN) cat $(vulkan_include_HEADERS) |\ >> $(PYTHON2) $(srcdir)/anv_entrypoints_gen.py code > $@ >> >> -BUILT_SOURCES = $(VULKAN_GENERATED_FILES) >> + >> +.PHONY: anv_timestamp.h >> + >> +anv_timestamp.h: >> + @echo "Updating anv_timestamp.h" >> + $(AM_V_GEN) echo "#define ANV_TIMESTAMP `date +%s`" > $@ >> + >> +BUILT_SOURCES = $(VULKAN_GENERATED_FILES) anv_timestamp.h > > > Should this really go in anv? Timothy is going to need it for the shader > cache for GL so it might be good to put it some place more generic. Or > Timothy can just move it when he needs it. > One could even copy the 4 lines. No need to watch out for which folder/Makefile get opened first, adding extra includes etc. > I don't care much either way. > > Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net> > Thanks Emil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev