mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 21:13:16 +00:00
98d5718ec9
* 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>
25 lines
541 B
Python
25 lines
541 B
Python
from SCons.Action import Action
|
|
from SCons.Builder import Builder
|
|
|
|
|
|
def generate(env):
|
|
env.SetDefault(
|
|
OBJDUMP="objdump",
|
|
OBJDUMPFLAGS=[],
|
|
)
|
|
env.Append(
|
|
BUILDERS={
|
|
"ObjDump": Builder(
|
|
action=Action(
|
|
[["$OBJDUMP", "$OBJDUMPFLAGS", "-S", "$SOURCES", ">", "$TARGET"]],
|
|
"${OBJDUMPCOMSTR}",
|
|
),
|
|
suffix=".lst",
|
|
src_suffix=".elf",
|
|
),
|
|
}
|
|
)
|
|
|
|
|
|
def exists(env):
|
|
return True
|