mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2025-09-26 11:36:25 +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 apps by default
|
||||||
SKIP_EXTERNAL = False
|
SKIP_EXTERNAL = False
|
||||||
|
|
||||||
|
# Appid's to include even when skipping externals
|
||||||
|
EXTRA_EXT_APPS = []
|
||||||
|
|
||||||
# Coprocessor firmware
|
# Coprocessor firmware
|
||||||
COPRO_OB_DATA = "scripts/ob.data"
|
COPRO_OB_DATA = "scripts/ob.data"
|
||||||
|
|
||||||
|
@@ -73,7 +73,9 @@ env = ENV.Clone(
|
|||||||
FW_API_TABLE=None,
|
FW_API_TABLE=None,
|
||||||
_APP_ICONS=None,
|
_APP_ICONS=None,
|
||||||
APPS=_.split(",") if (_ := GetOption("extra_int_apps")) else [],
|
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()
|
env.PreConfigureFwEnvionment()
|
||||||
|
@@ -227,6 +227,11 @@ vars.AddVariables(
|
|||||||
help="Skip external apps unless explicitly selected",
|
help="Skip external apps unless explicitly selected",
|
||||||
default=False,
|
default=False,
|
||||||
),
|
),
|
||||||
|
(
|
||||||
|
"EXTRA_EXT_APPS",
|
||||||
|
"List of appids to include regardless of other configuration",
|
||||||
|
[],
|
||||||
|
),
|
||||||
(
|
(
|
||||||
"APPSRC",
|
"APPSRC",
|
||||||
"Application source directory for app to build & upload",
|
"Application source directory for app to build & upload",
|
||||||
|
Reference in New Issue
Block a user