Skip to content
Permalink
Browse files

Revert "gen_app_partitions.py: make generated/app_smem_*.ld files det…

…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 27, 2019
1 parent 70aa383 commit 85bc0d2fe5db0c51fe6f91bfbc2c8b9883449f7d
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/gen_app_partitions.py
@@ -162,7 +162,7 @@ def parse_elf_file(partitions):
def generate_final_linker(linker_file, partitions):
string = linker_start_seq
size_string = ''
for partition, item in sorted(partitions.items()):
for partition, item in partitions.items():
string += data_template.format(partition)
if LIB in item:
for lib in item[LIB]:

0 comments on commit 85bc0d2

Please sign in to comment.
You can’t perform that action at this time.