diff options
author | Bas Nieuwenhuizen <[email protected]> | 2018-03-09 08:43:01 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2018-03-09 09:36:19 +0100 |
commit | 04ffabf17a116a19854fc5957d3e97805815b77c (patch) | |
tree | 8da1659ba49d5657db5b45709a4104c9a1c24944 /src | |
parent | 365850fd68452f12c91d39568f8179263903bb6f (diff) |
radv: Fix autotools build.
Forgot it again ....
Fixes: b6347807a9 "radv: Generate icd files."
Acked-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/vulkan/Makefile.am | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/amd/vulkan/Makefile.am b/src/amd/vulkan/Makefile.am index 80937e38d38..99d9e578d8c 100644 --- a/src/amd/vulkan/Makefile.am +++ b/src/amd/vulkan/Makefile.am @@ -142,10 +142,9 @@ BUILT_SOURCES = $(VULKAN_GENERATED_FILES) CLEANFILES = $(BUILT_SOURCES) dev_icd.json radeon_icd.@[email protected] EXTRA_DIST = \ $(top_srcdir)/include/vulkan/vk_icd.h \ - dev_icd.json.in \ - radeon_icd.json.in \ radv_entrypoints_gen.py \ radv_extensions.py \ + radv_icd.py \ vk_format_layout.csv \ vk_format_parse.py \ vk_format_table.py \ @@ -169,14 +168,12 @@ icdconf_DATA = radeon_icd.@[email protected] # The following is used for development purposes, by setting VK_ICD_FILENAMES. noinst_DATA = dev_icd.json -dev_icd.json : dev_icd.json.in - $(AM_V_GEN) $(SED) \ - -e "s#@libvulkan_radeon_path@#${abs_top_builddir}/${LIB_DIR}/libvulkan_radeon.so#" \ - < $(srcdir)/dev_icd.json.in > $@ +dev_icd.json : radv_extensions.py radv_icd.py + $(AM_V_GEN)$(PYTHON2) $(srcdir)/radv_icd.py \ + --lib-path="${abs_top_builddir}/${LIB_DIR}" --out $@ -radeon_icd.@[email protected] : radeon_icd.json.in - $(AM_V_GEN) $(SED) \ - -e "s#@install_libdir@#${libdir}#" \ - < $(srcdir)/radeon_icd.json.in > $@ +vulkan/radeon_icd.@[email protected] : radv_extensions.py radv_icd.py + $(AM_V_GEN)$(PYTHON2) $(srcdir)/radv_icd.py \ + --lib-path="${libdir}" --out $@ include $(top_srcdir)/install-lib-links.mk |