mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-26 19:50:37 +02:00
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: b838f64237 "ac/debug: Move sid_tables.h generation to common
code."
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
23dcce0c03
commit
d1dc22eb46
2 changed files with 3 additions and 3 deletions
|
|
@ -23,6 +23,6 @@ include Makefile.sources
|
||||||
|
|
||||||
noinst_LTLIBRARIES =
|
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.addrlib.am
|
||||||
include Makefile.common.am
|
include Makefile.common.am
|
||||||
|
|
|
||||||
|
|
@ -62,9 +62,9 @@ common_libamd_common_la_SOURCES = \
|
||||||
if HAVE_RADEON_VULKAN
|
if HAVE_RADEON_VULKAN
|
||||||
common_libamd_common_la_SOURCES += $(AMD_NIR_FILES)
|
common_libamd_common_la_SOURCES += $(AMD_NIR_FILES)
|
||||||
endif
|
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 > $@
|
$(AM_V_GEN) $(PYTHON2) $(srcdir)/common/sid_tables.py $(srcdir)/common/sid.h > $@
|
||||||
|
|
||||||
BUILT_SOURCES = $(AMD_GENERATED_FILES)
|
BUILT_SOURCES = $(AMD_GENERATED_FILES)
|
||||||
endif
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue