mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 12:42:30 +04:00
fbt: improvements (#3217)
* fbt: changed cdefines & lib handling for external apps; added extra checks for app manifest fields; moved around AppsC generator * fbt: commandline fixes for spaces in paths * fbt: fixed stringification for FAP_VERSION * fbt: Removed excessive quoting for gdb * docs: update for cdefines; fbt: typo fix * fbt: enforcing at least 2 components in app version= Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -79,7 +79,17 @@ def generate(env):
|
||||
BUILDERS={
|
||||
"PVSCheck": Builder(
|
||||
action=Action(
|
||||
'${PVSCHECKBIN} analyze ${PVSOPTIONS} -f "${SOURCE}" -o "${TARGET}"',
|
||||
[
|
||||
[
|
||||
"${PVSCHECKBIN}",
|
||||
"analyze",
|
||||
"${PVSOPTIONS}",
|
||||
"-f",
|
||||
"${SOURCE}",
|
||||
"-o",
|
||||
"${TARGET}",
|
||||
]
|
||||
],
|
||||
"${PVSCHECKCOMSTR}",
|
||||
),
|
||||
suffix=".log",
|
||||
@@ -92,7 +102,17 @@ def generate(env):
|
||||
# PlogConverter.exe and plog-converter have different behavior
|
||||
Mkdir("${TARGET.dir}") if env["PLATFORM"] == "win32" else None,
|
||||
Action(_set_browser_action, None),
|
||||
'${PVSCONVBIN} ${PVSCONVOPTIONS} "${SOURCE}" -o "${REPORT_DIR}"',
|
||||
Action(
|
||||
[
|
||||
[
|
||||
"${PVSCONVBIN}",
|
||||
"${PVSCONVOPTIONS}",
|
||||
"${SOURCE}",
|
||||
"-o",
|
||||
"${REPORT_DIR}",
|
||||
]
|
||||
]
|
||||
),
|
||||
],
|
||||
"${PVSCONVCOMSTR}",
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user