]> git.baikalelectronics.ru Git - uboot.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)
commitd9f9796358b767fda236817ccb90d2808717e3cd
tree29f4a7db27669fac1ea7b7eb8821b5440b09af0d
parent7dbd8e19774b4d4cbfbbadd632608a59f6384e84
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: 2fccc7f7fc54 ("build: use thin archives instead of incremental linking")
Signed-off-by: Tom Rini <trini@konsulko.com>
scripts/get_default_envs.sh