[tools/link-orger]Sort objects before generate building target to get same link-order/map files/BIN files from the same source files.

This commit is contained in:
lanyang 2022-09-09 15:12:13 +08:00 committed by Man, Jianting (Meco)
parent 24bf4ad270
commit 0cb6211372
1 changed files with 1 additions and 0 deletions

View File

@ -778,6 +778,7 @@ def DoBuilding(target, objects):
for group in Projects: for group in Projects:
local_group(group, objects) local_group(group, objects)
objects = sorted(objects)
program = Env.Program(target, objects) program = Env.Program(target, objects)
EndBuilding(target, program) EndBuilding(target, program)