FBT: build and add FastFAP(tm) sections

This commit is contained in:
SG
2023-06-21 17:16:25 +03:00
parent 4ddfe05a59
commit 42056d17b1
4 changed files with 187 additions and 11 deletions

View File

@@ -384,10 +384,16 @@ def generate_embed_app_metadata_actions(source, target, env, for_signature):
"${SOURCES} ${TARGET}"
)
actions.append(
Action(
objcopy_str,
"$APPMETAEMBED_COMSTR",
actions.extend(
(
Action(
objcopy_str,
"$APPMETAEMBED_COMSTR",
),
Action(
"${FBT_SCRIPT_DIR}/fastfap.py ${TARGET} ${OBJCOPY}",
"$FASTFAP_COMSTR",
),
)
)
@@ -450,6 +456,7 @@ def generate(env, **kw):
APPMETA_COMSTR="\tAPPMETA\t${TARGET}",
APPFILE_COMSTR="\tAPPFILE\t${TARGET}",
APPMETAEMBED_COMSTR="\tFAP\t${TARGET}",
FASTFAP_COMSTR="\tFASTFAP\t${TARGET}",
APPCHECK_COMSTR="\tAPPCHK\t${SOURCE}",
)