mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2025-09-25 19:20:40 +02:00
FBT: Can set EXTRA_EXT_APPS from config, not only CLI
This commit is contained in:
@@ -42,6 +42,9 @@ if not os.environ.get("DIST_SUFFIX"):
|
||||
# Skip external apps by default
|
||||
SKIP_EXTERNAL = False
|
||||
|
||||
# Appid's to include even when skipping externals
|
||||
EXTRA_EXT_APPS = []
|
||||
|
||||
# Coprocessor firmware
|
||||
COPRO_OB_DATA = "scripts/ob.data"
|
||||
|
||||
|
@@ -73,7 +73,9 @@ env = ENV.Clone(
|
||||
FW_API_TABLE=None,
|
||||
_APP_ICONS=None,
|
||||
APPS=_.split(",") if (_ := GetOption("extra_int_apps")) else [],
|
||||
EXTRA_EXT_APPS=_.split(",") if (_ := GetOption("extra_ext_apps")) else [],
|
||||
EXTRA_EXT_APPS=_.split(",")
|
||||
if (_ := GetOption("extra_ext_apps"))
|
||||
else ENV["EXTRA_EXT_APPS"],
|
||||
)
|
||||
|
||||
env.PreConfigureFwEnvionment()
|
||||
|
@@ -227,6 +227,11 @@ vars.AddVariables(
|
||||
help="Skip external apps unless explicitly selected",
|
||||
default=False,
|
||||
),
|
||||
(
|
||||
"EXTRA_EXT_APPS",
|
||||
"List of appids to include regardless of other configuration",
|
||||
[],
|
||||
),
|
||||
(
|
||||
"APPSRC",
|
||||
"Application source directory for app to build & upload",
|
||||
|
Reference in New Issue
Block a user