diff options
| author | ruki <[email protected]> | 2026-07-18 18:37:41 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-07-18 18:37:41 +0800 |
| commit | 108eaa6d115e03f44bd1f105328dbe90a7747b30 (patch) | |
| tree | 8f98ca03c2355a6f4acc934e0924324e3dd4a73a /xmake/rules/utils/bin2obj/xmake.lua | |
| parent | c4f4ad6aec62c15fdff13721716a577690e0db81 (diff) | |
| parent | c48de38142edcb99b47bf72b0b54fe025f112fdf (diff) | |
Merge pull request #7654 from xmake-io/bin2obj
Add transform support for bin2obj/bin2c
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 |
