mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
update the find_apps.py, now it will generate build
and preserve
keys
This commit is contained in:
@@ -71,6 +71,8 @@ class BuildItem(object):
|
||||
sdkconfig_path,
|
||||
config_name,
|
||||
build_system,
|
||||
build_or_not,
|
||||
preserve_artifacts,
|
||||
):
|
||||
# These internal variables store the paths with environment variables and placeholders;
|
||||
# Public properties with similar names use the _expand method to get the actual paths.
|
||||
@@ -84,6 +86,9 @@ class BuildItem(object):
|
||||
self.target = target
|
||||
self.build_system = build_system
|
||||
|
||||
self.build = build_or_not
|
||||
self.preserve = preserve_artifacts
|
||||
|
||||
self._app_name = os.path.basename(os.path.normpath(app_path))
|
||||
|
||||
# Some miscellaneous build properties which are set later, at the build stage
|
||||
@@ -155,6 +160,8 @@ class BuildItem(object):
|
||||
"config": self.config_name,
|
||||
"target": self.target,
|
||||
"verbose": self.verbose,
|
||||
"build": self.build,
|
||||
"preserve": self.preserve,
|
||||
})
|
||||
|
||||
@staticmethod
|
||||
@@ -172,6 +179,8 @@ class BuildItem(object):
|
||||
config_name=d["config"],
|
||||
target=d["target"],
|
||||
build_system=d["build_system"],
|
||||
build_or_not=d["build"],
|
||||
preserve_artifacts=d["preserve"]
|
||||
)
|
||||
result.verbose = d["verbose"]
|
||||
return result
|
||||
|
Reference in New Issue
Block a user