summaryrefslogtreecommitdiff
path: root/build/scons_tools
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2021-01-16 01:20:58 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2021-01-16 01:20:58 +0100
commit9921c9db409ad5b00fe4a43a2459e2fd2de6b0cf (patch)
treeb0f3bc73144d87112f746d04b3bc7a69cc3e0953 /build/scons_tools
parentd834303f5e642266874b1c99be04dcb9149fefb1 (diff)
usb: Generate instances from platform spec.
Diffstat (limited to 'build/scons_tools')
-rw-r--r--build/scons_tools/tool_jinja2.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/scons_tools/tool_jinja2.py b/build/scons_tools/tool_jinja2.py
index c85c559..edea043 100644
--- a/build/scons_tools/tool_jinja2.py
+++ b/build/scons_tools/tool_jinja2.py
@@ -5,6 +5,8 @@ loader = jinja2.FileSystemLoader('.')
jinja2_env = jinja2.Environment(
loader = loader,
+ trim_blocks = True,
+ lstrip_blocks = True,
)
jinja2_env.filters['hex'] = lambda value: '%#x' % value