Skip to content

Commit

Permalink
Revert "gen_app_partitions.py: make generated/app_smem_*.ld files det…
Browse files Browse the repository at this point in the history
…erministic"

This reverts commit 725abdf which did get rid of randomness in the
order of the partition _names_ as claimed but regressed commit
212ec9a / feature #14121 and broke the previous size order which I
missed. Huge thanks to Sigvart Hovland for spotting this in a post-merge
but prompt code review. Proper fix in the next commit.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
  • Loading branch information
marc-hb authored and andrewboie committed Jun 28, 2019
1 parent 70aa383 commit 85bc0d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gen_app_partitions.py
Expand Up @@ -162,7 +162,7 @@ def parse_elf_file(partitions):
def generate_final_linker(linker_file, partitions): def generate_final_linker(linker_file, partitions):
string = linker_start_seq string = linker_start_seq
size_string = '' size_string = ''
for partition, item in sorted(partitions.items()): for partition, item in partitions.items():
string += data_template.format(partition) string += data_template.format(partition)
if LIB in item: if LIB in item:
for lib in item[LIB]: for lib in item[LIB]:
Expand Down

0 comments on commit 85bc0d2

Please sign in to comment.