coreboot/util/sconfig
Patrick Georgi f02ed614d2 util/sconfig: Avoid duplicate symbols in link step
Recent linkers became more picky about unifying identical symbols, so
avoid struct *device head to appear several times by marking it
"extern".

Follows a change in commit 79e8412665, but without carrying all the
other refactorings done there.

Change-Id: Icede0936cc99f1c183c09812bffc3cc9a3993efa
Signed-off-by: Patrick Georgi <patrick@georgi.software>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58534
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
2021-10-23 11:11:18 +00:00
..
lex.yy.c_shipped devicetree: Add USB device type 2018-05-11 08:59:51 +00:00
main.c devicetree: Add USB device type 2018-05-11 08:59:51 +00:00
Makefile.inc util/blobtool & sconfig: Update GENPARSER Kconfig question 2017-04-14 17:26:48 +02:00
sconfig.h util/sconfig: Avoid duplicate symbols in link step 2021-10-23 11:11:18 +00:00
sconfig.l devicetree: Add USB device type 2018-05-11 08:59:51 +00:00
sconfig.tab.c_shipped devicetree: Add USB device type 2018-05-11 08:59:51 +00:00
sconfig.tab.h_shipped devicetree: Add USB device type 2018-05-11 08:59:51 +00:00
sconfig.y devicetree: Add USB device type 2018-05-11 08:59:51 +00:00