blob: e37e9034b090e7c86bef88a2e39eaedeb87a3f5a [file] [log] [blame]
Brad Bishopbba38f32018-08-23 16:11:46 +08001From 98e793d9f2250e7c1f9f1eb5dfd616a6a8829e9a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 3 Sep 2018 11:12:27 -0700
4Subject: [PATCH] gen_def
5
6---
7 SConstruct | 2 ++
8 1 file changed, 2 insertions(+)
9
10diff --git a/SConstruct b/SConstruct
11index 571bdce..877731e 100644
12--- a/SConstruct
13+++ b/SConstruct
14@@ -158,6 +158,8 @@ env = Environment(variables=opts,
15 ENV = os.environ,
16 )
17
18+gen_def_script = env.File('build/gen_def.py').rstr()
19+
20 env.Append(BUILDERS = {
21 'GenDef' :
22 Builder(action = '"%s" "%s" $SOURCES > $TARGET' % (sys.executable, gen_def_script,),