From 9a673db6472d93fddbc8c3302ee1bac91714621a Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Tue, 28 Jul 2020 12:12:31 +0200 Subject: [PATCH] core: fix build on T1 file src/apps/base.py was added unconditionally breaking the T1 build --- core/SConscript.firmware | 2 +- core/SConscript.unix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/SConscript.firmware b/core/SConscript.firmware index fcd21a97a8..dfc7b5d5ef 100644 --- a/core/SConscript.firmware +++ b/core/SConscript.firmware @@ -493,7 +493,7 @@ if FROZEN: ]) ) - SOURCE_PY.append(SOURCE_PY_DIR + 'apps/base.py') + SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/*.py')) SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/common/*.py')) SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/common/*/*.py')) SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/debug/*.py')) diff --git a/core/SConscript.unix b/core/SConscript.unix index 3eb9e0f709..e06dd8ca81 100644 --- a/core/SConscript.unix +++ b/core/SConscript.unix @@ -458,7 +458,7 @@ if FROZEN: ]) ) - SOURCE_PY.append(SOURCE_PY_DIR + 'apps/base.py') + SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/*.py')) SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/common/*.py')) SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/common/*/*.py')) SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/debug/*.py'))