mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-06-26 18:02:35 +00:00
build(core): only include apps.management.ble when needed
[no changelog]
This commit is contained in:
parent
1fc6feda80
commit
199c02adb2
@ -636,7 +636,11 @@ if FROZEN:
|
|||||||
SOURCE_PY_DIR + 'apps/management/sd_protect.py',
|
SOURCE_PY_DIR + 'apps/management/sd_protect.py',
|
||||||
] if not SDCARD else [])
|
] if not SDCARD else [])
|
||||||
)
|
)
|
||||||
SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/management/*/*.py'))
|
SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/management/*/*.py',
|
||||||
|
exclude=[
|
||||||
|
SOURCE_PY_DIR + 'apps/management/ble/*.py',
|
||||||
|
] if "ble" not in FEATURES_AVAILABLE else [])
|
||||||
|
)
|
||||||
SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/misc/*.py'))
|
SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/misc/*.py'))
|
||||||
SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/bitcoin/*.py'))
|
SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/bitcoin/*.py'))
|
||||||
SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/bitcoin/*/*.py',
|
SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/bitcoin/*/*.py',
|
||||||
|
@ -690,7 +690,11 @@ if FROZEN:
|
|||||||
SOURCE_PY_DIR + 'apps/management/authenticate_device.py',
|
SOURCE_PY_DIR + 'apps/management/authenticate_device.py',
|
||||||
] if "optiga" not in FEATURES_AVAILABLE else [])
|
] if "optiga" not in FEATURES_AVAILABLE else [])
|
||||||
)
|
)
|
||||||
SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/management/*/*.py'))
|
SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/management/*/*.py',
|
||||||
|
exclude=[
|
||||||
|
SOURCE_PY_DIR + 'apps/management/ble/*.py',
|
||||||
|
] if "ble" not in FEATURES_AVAILABLE else [])
|
||||||
|
)
|
||||||
SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/misc/*.py'))
|
SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/misc/*.py'))
|
||||||
SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/bitcoin/*.py'))
|
SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/bitcoin/*.py'))
|
||||||
SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/bitcoin/*/*.py',
|
SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/bitcoin/*/*.py',
|
||||||
|
Loading…
Reference in New Issue
Block a user