diff --git a/fbt_options.py b/fbt_options.py index 5c6d523bc..dd6fb2790 100644 --- a/fbt_options.py +++ b/fbt_options.py @@ -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" diff --git a/firmware.scons b/firmware.scons index c27f82536..a2e72b087 100644 --- a/firmware.scons +++ b/firmware.scons @@ -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() diff --git a/site_scons/commandline.scons b/site_scons/commandline.scons index 67e161caf..2340f27c6 100644 --- a/site_scons/commandline.scons +++ b/site_scons/commandline.scons @@ -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",