coreboot/util
Furquan Shaikh a0cc5a697c util/sconfig: Re-factor emitting of headers to static.c
This change removes call to add_header from parsing functions and
moves it to a local function within main.c. It also adds a new
function emit_headers that is responsible for creating the linked list
for chip headers and emitting those to static.c

BUG=b:80081934
TEST=Verified that static.c for all files compiled using abuild is the
same with and without this change.

Change-Id: I24d526e81323115d3cc927242a4b9e49414afbe0
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/26726
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2018-06-05 20:57:26 +00:00
..
abuild util/abuild: Disable unspecified payload options 2018-05-17 12:06:33 +00:00
acpi
amdfwtool
amdtools
archive
arm_boot_tools/mksunxiboot
autoport util/autoport: Improve readme.me 2018-04-29 16:46:04 +00:00
bimgtool
bincfg
board_status board_status: Abort if repository is in a dirty state 2018-06-04 09:25:17 +00:00
broadcom
cbfstool util/cbfstool: Remove whitespace before tab 2018-06-04 09:10:05 +00:00
cbmem util/cbmem: Fix compare function for qsort 2018-05-18 20:13:47 +00:00
checklist
chromeos
crossgcc buildgcc: Update IASL to 20180531 2018-06-03 23:08:49 +00:00
docker util/docker: Fix file ownership when building with coreboot-sdk 2018-05-30 17:15:25 +00:00
dtd_parser
ectool
exynos
futility
fuzz-tests
genbuild_h
genprof
gitconfig checkpatch: exclude util/crossgcc/patches 2018-05-30 17:12:00 +00:00
ifdfake
ifdtool util/ifdtool: Remove .dependencies on make clean 2018-06-04 09:38:25 +00:00
intelmetool util/intelmetool: Add Makefile target for OLDARC definition 2018-05-23 08:31:45 +00:00
inteltool util/inteltool: Add Pentium 4 model f6x 2018-06-04 02:31:51 +00:00
intelvbttool
ipqheader
k8resdump
kbc1126
kconfig
lint util/lint: Update lint-000-license-headers linter 2018-06-02 21:00:22 +00:00
marvell
me_cleaner
mma
msrtool util/msrtool: Add Pentium D support 2018-06-04 02:30:03 +00:00
mtkheader
nvidia
nvramtool cbfs: Rename CBFS_TYPE_PAYLOAD to CBFS_TYPE_SELF 2018-05-04 10:30:24 +00:00
optionlist
post
qualcomm/scripts/cmm util/qualcomm: Add T32 debug scripts 2018-04-27 09:21:11 +00:00
release util/release/genrelnotes: Add "sifive" search pattern 2018-05-05 15:24:45 +00:00
riscv
rockchip
romcc
sconfig util/sconfig: Re-factor emitting of headers to static.c 2018-06-05 20:57:26 +00:00
scripts
showdevicetree
spkmodem_recv
superiotool util/superiotool: Remove whitespace before tab 2018-06-04 09:10:32 +00:00
testing util/testing: Convert tegra124 and tegra210 builds to junit 2018-05-22 07:25:54 +00:00
uio_usbdebug
vgabios
viatool
x86
xcompile util/xcompile: prefer riscv64 over riscv 2018-05-09 10:00:32 +00:00