diff options
author | Emil Velikov <[email protected]> | 2017-01-12 17:34:15 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-01-12 19:29:28 +0000 |
commit | d1dc22eb4661dbb343920bb36a9c71accec334d5 (patch) | |
tree | 547294df7d307a03ae2c4cf5b55b11a50b289c83 /src | |
parent | 23dcce0c03db055c168696c9120637506b68b13d (diff) |
ac: automake: rework sid_tables.h generation
Drop $(srcdir)/ prefix analogous to before the file (and rule) movement
and move it outside of the NEED_RADEON_LLVM conditional.
Otherwise the build may fail as below.
make[3]: *** No rule to make target 'common/sid_tables.h', needed by 'distdir'. Stop.
Fixes: b838f642371 "ac/debug: Move sid_tables.h generation to common
code."
Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/Makefile.am | 2 | ||||
-rw-r--r-- | src/amd/Makefile.common.am | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/amd/Makefile.am b/src/amd/Makefile.am index 0a8456d1e4d..7d191af4431 100644 --- a/src/amd/Makefile.am +++ b/src/amd/Makefile.am @@ -23,6 +23,6 @@ include Makefile.sources noinst_LTLIBRARIES = -EXTRA_DIST = $(COMMON_HEADER_FILES) $(srcdir)/common/sid_tables.py +EXTRA_DIST = $(COMMON_HEADER_FILES) common/sid_tables.py include Makefile.addrlib.am include Makefile.common.am diff --git a/src/amd/Makefile.common.am b/src/amd/Makefile.common.am index 533ad17de59..b5fce2b4e07 100644 --- a/src/amd/Makefile.common.am +++ b/src/amd/Makefile.common.am @@ -62,9 +62,9 @@ common_libamd_common_la_SOURCES = \ if HAVE_RADEON_VULKAN common_libamd_common_la_SOURCES += $(AMD_NIR_FILES) endif +endif -$(srcdir)/common/sid_tables.h: $(srcdir)/common/sid_tables.py $(srcdir)/common/sid.h +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 |