diff options
Diffstat (limited to 'src/vulkan/Android.mk')
-rw-r--r-- | src/vulkan/Android.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vulkan/Android.mk b/src/vulkan/Android.mk index c3230d8288f..71aa5e5f0bd 100644 --- a/src/vulkan/Android.mk +++ b/src/vulkan/Android.mk @@ -54,14 +54,16 @@ LOCAL_SRC_FILES := $(VULKAN_UTIL_FILES) $(VULKAN_WSI_FILES) vulkan_api_xml = $(MESA_TOP)/src/vulkan/registry/vk.xml -$(LOCAL_GENERATED_SOURCES): $(MESA_TOP)/src/vulkan/util/gen_enum_to_str.py \ +$(firstword $(LOCAL_GENERATED_SOURCES)): $(MESA_TOP)/src/vulkan/util/gen_enum_to_str.py \ $(vulkan_api_xml) @echo "target Generated: $(PRIVATE_MODULE) <= $(notdir $(@))" @mkdir -p $(dir $@) - $(hide) $(MESA_PYTHON2) $(MESA_TOP)/src/vulkan/util/gen_enum_to_str.py \ + $(hide) $(MESA_PYTHON2) $< \ --xml $(vulkan_api_xml) \ --outdir $(dir $@) +$(lastword $(LOCAL_GENERATED_SOURCES)): $(firstword $(LOCAL_GENERATED_SOURCES)) + LOCAL_EXPORT_C_INCLUDE_DIRS := $(intermediates)/util ifeq ($(filter $(MESA_ANDROID_MAJOR_VERSION), 4 5 6 7),) |