diff options
author | Bas Nieuwenhuizen <[email protected]> | 2016-12-24 11:53:41 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2017-01-09 21:43:54 +0100 |
commit | b838f6423711a8f69073ed2c27773b50ffe14d2c (patch) | |
tree | 4813023f211eae5f70c6778f037712c78f575e57 /src/amd/Makefile.common.am | |
parent | 1c5dcecd51fb8072a9563d838dc33565061f9542 (diff) |
ac/debug: Move sid_tables.h generation to common code.
Signed-off-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/Makefile.common.am')
-rw-r--r-- | src/amd/Makefile.common.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/amd/Makefile.common.am b/src/amd/Makefile.common.am index 1a36e48101c..1425decb90e 100644 --- a/src/amd/Makefile.common.am +++ b/src/amd/Makefile.common.am @@ -52,7 +52,9 @@ common_libamd_common_la_CXXFLAGS = \ noinst_LTLIBRARIES += $(COMMON_LIBS) -common_libamd_common_la_SOURCES = $(AMD_COMPILER_FILES) +common_libamd_common_la_SOURCES = \ + $(AMD_COMPILER_FILES) \ + $(AMD_GENERATED_FILES) # nir_to_llvm requires LLVM 3.9, which is only required as a minimum when # radv is built. @@ -60,4 +62,8 @@ if HAVE_RADEON_VULKAN common_libamd_common_la_SOURCES += $(AMD_NIR_FILES) endif +$(srcdir)/common/sid_tables.h: $(srcdir)/common/sid_tables.py $(srcdir)/common/sid.h + $(AM_V_GEN) $(PYTHON2) $(srcdir)/common/sid_tables.py $(srcdir)/common/sid.h > $@ + +BUILT_SOURCES = $(AMD_GENERATED_FILES) endif |