Mesa (master): ac: automake: ensure that ./common is generated

Emil Velikov evelikov at kemper.freedesktop.org
Fri Jan 13 03:12:11 UTC 2017


Module: Mesa
Branch: master
Commit: 5abd0a7583708ec91ee25cf559a777715fa33fa7
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5abd0a7583708ec91ee25cf559a777715fa33fa7

Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Jan 12 22:13:21 2017 +0000

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 at nvidia.com>
Tested-by: Darren Salt <devspam at moreofthesa.me.uk>
Reported-by: Darren Salt <devspam at moreofthesa.me.uk>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>

---

 src/amd/Makefile.common.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/amd/Makefile.common.am b/src/amd/Makefile.common.am
index ab69fc3..832a943 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)




More information about the mesa-commit mailing list