[Mesa-dev] [PATCH] scons: add code to generate format_fallback.c file

Brian Paul brianp at vmware.com
Wed Jun 28 02:58:48 UTC 2017


Fixes broken SCons build since a1983223d8839a0c9
---
 src/mesa/SConscript | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/mesa/SConscript b/src/mesa/SConscript
index fa4efe1..b63e15a 100644
--- a/src/mesa/SConscript
+++ b/src/mesa/SConscript
@@ -79,6 +79,13 @@ format_unpack = env.CodeGenerate(
       command = python_cmd + ' $SCRIPT ' + ' $SOURCE > $TARGET'
 )
 
+format_fallback = env.CodeGenerate(
+      target = 'main/format_fallback.c',
+      script = 'main/format_fallback.py',
+      source = 'main/formats.csv',
+      command = python_cmd + ' $SCRIPT ' + ' $SOURCE ' + ' $TARGET'
+)
+
 #
 # Assembly sources
 #
-- 
1.9.1



More information about the mesa-dev mailing list