From: Emil Velikov Date: Thu, 12 Jan 2017 22:13:21 +0000 (+0000) Subject: ac: automake: ensure that ./common is generated X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5abd0a7583708ec91ee25cf559a777715fa33fa7;p=mesa.git 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 Tested-by: Darren Salt Reported-by: Darren Salt Signed-off-by: Emil Velikov --- diff --git a/src/amd/Makefile.common.am b/src/amd/Makefile.common.am index ab69fc337aa..832a9434dce 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)