summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2017-01-12 22:13:21 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2017-01-13 03:07:48 +0000
commit5abd0a7583708ec91ee25cf559a777715fa33fa7 (patch)
treec1350abc18f815e60652f3ce19bbe631c859767c
parentf897036978b42619ce27ea4f41886cc0002f33ef (diff)
ac: automake: ensure that ./common is generated
Depending on the autoconf (or friends) version one may or may not have the ./common folder created. Thus in the latter case we'll fail to generate the file. Reviewed-by: Thierry Reding <treding@nvidia.com> Tested-by: Darren Salt <devspam@moreofthesa.me.uk> Reported-by: Darren Salt <devspam@moreofthesa.me.uk> Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-rw-r--r--src/amd/Makefile.common.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/Makefile.common.am b/src/amd/Makefile.common.am
index ab69fc337a..832a9434dc 100644
--- a/src/amd/Makefile.common.am
+++ b/src/amd/Makefile.common.am
@@ -66,6 +66,7 @@ endif
endif
common/sid_tables.h: $(srcdir)/common/sid_tables.py $(srcdir)/common/sid.h
+ $(AM_V_at)$(MKDIR_P) $(@D)
$(AM_V_GEN) $(PYTHON2) $(srcdir)/common/sid_tables.py $(srcdir)/common/sid.h > $@
BUILT_SOURCES = $(AMD_GENERATED_FILES)