util/cbfstool/fmaptool: Generate list of terminal sections
commit73982edadd83319339839fec026d29abd24034de
authorFurquan Shaikh <furquan@google.com>
Sat, 21 Nov 2020 22:54:13 +0000 (21 14:54 -0800)
committerFurquan Shaikh <furquan@google.com>
Tue, 8 Dec 2020 18:59:05 +0000 (8 18:59 +0000)
tree0dc1749aeed5af00af71d5d294ad370f34162bfb
parent0ae389cb237333bd7601952eef84e87075c77b76
util/cbfstool/fmaptool: Generate list of terminal sections

This change adds support in fmaptool to generate a macro in C header
file that provides a list of section names that do not have any
subsections. This is useful for performing build time tests on these
sections.

BUG=b:171534504

Change-Id: Ie32bb8af4a722d329f9d4729722b131ca352d47a
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47883
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
util/cbfstool/fmaptool.c