]> git.dujemihanovic.xyz Git - u-boot.git/commit
scripts/get_default_envs.sh: Update for thin archive support
authorTom Rini <trini@konsulko.com>
Mon, 21 Jun 2021 20:14:18 +0000 (16:14 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 14 Jul 2021 20:57:35 +0000 (16:57 -0400)
commit963fde31559f50ceb4f5965f00d79f8747a9d217
tree29f4a7db27669fac1ea7b7eb8821b5440b09af0d
parent2a2896b17fa47168b87590a1e9b42765c598e3c7
scripts/get_default_envs.sh: Update for thin archive support

This script was broken by the change to default archives for linking.
This is due to objcopy specifically disallowing copying of thin
archives.  To fix this and re-support external users of this script,
switch to using the same logic the u-boot-initial-env make target uses
to dump the section from the object file.

Reported-by: Jan Kiszka <jan.kiszka@web.de>
Fixes: 958f2e57eff7 ("build: use thin archives instead of incremental linking")
Signed-off-by: Tom Rini <trini@konsulko.com>
scripts/get_default_envs.sh