diff options
| author | ruki <[email protected]> | 2026-07-17 23:49:52 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-07-17 23:49:52 +0800 |
| commit | f467d71abc40d4fee6e896d7a0b8e4f5be7e16db (patch) | |
| tree | c46a673aa416c6b76f7ba4e875cb56e699017e13 /xmake/rules/utils/bin2obj/xmake.lua | |
| parent | 0cb38ea4d9823ee49d15debb7a94a2fc9e72d3cc (diff) | |
add batchcmds:call and transform for bin2obj/c
Diffstat (limited to 'xmake/rules/utils/bin2obj/xmake.lua')
| -rw-r--r-- | xmake/rules/utils/bin2obj/xmake.lua | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/xmake/rules/utils/bin2obj/xmake.lua b/xmake/rules/utils/bin2obj/xmake.lua index 760b9d536..58ec87a90 100644 --- a/xmake/rules/utils/bin2obj/xmake.lua +++ b/xmake/rules/utils/bin2obj/xmake.lua @@ -24,15 +24,9 @@ rule("utils.bin2obj") on_buildcmd_file(function (target, batchcmds, sourcefile_bin, opt) import("rules.utils.bin2obj.utils", {alias = "bin2obj_utils", rootdir = os.programdir()}) - -- get zeroend (default: false) - -- check file-level config first, then rule-level config - local fileconfig = target:fileconfig(sourcefile_bin) - local zeroend = (fileconfig and fileconfig.zeroend) or target:extraconf("rules", "utils.bin2obj", "zeroend") or false - -- convert binary file to object file local objectfile = bin2obj_utils.generate_objectfile(target, batchcmds, sourcefile_bin, { progress = opt.progress, - zeroend = zeroend }) -- add deps |
