mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-06-04 08:59:44 -04:00

Based on the open source AMDFWTOOL available here: https://github.com/coreboot/coreboot/tree/main/util/amdfwtool TODO: - Merge duplicated regions There can be multiple L2 directory tables, for A/B recovery or to support different SoC SKUs. They point to the same regions, causing the same area to be shown multiple times in the parsed image. - Better quirks support PSP hardcodes certain sizes and address types for some files. The parser might thus fail, even though it works on real hardware. Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
65 lines
1.5 KiB
Meson
65 lines
1.5 KiB
Meson
lzma = static_library('lzma',
|
|
sources: [
|
|
'LZMA/LzmaDecompress.c',
|
|
'LZMA/SDK/C/Bra86.c',
|
|
'LZMA/SDK/C/LzmaDec.c',
|
|
'Tiano/EfiTianoDecompress.c',
|
|
],
|
|
)
|
|
|
|
bstrlib = static_library('bstrlib',
|
|
sources: [
|
|
'bstrlib/bstrlib.c',
|
|
'bstrlib/bstrwrap.cpp',
|
|
],
|
|
)
|
|
|
|
uefitoolcommon = static_library('uefitoolcommon',
|
|
sources: [
|
|
'guiddatabase.cpp',
|
|
'types.cpp',
|
|
'descriptor.cpp',
|
|
'filesystem.cpp',
|
|
'ffs.cpp',
|
|
'nvram.cpp',
|
|
'nvramparser.cpp',
|
|
'meparser.cpp',
|
|
'fitparser.cpp',
|
|
'ffsparser.cpp',
|
|
'ffsparser_amd.cpp',
|
|
'ffsparser_intel.cpp',
|
|
'ffsreport.cpp',
|
|
'peimage.cpp',
|
|
'treeitem.cpp',
|
|
'treemodel.cpp',
|
|
'utility.cpp',
|
|
'ustring.cpp',
|
|
'generated/ami_nvar.cpp',
|
|
'generated/apple_sysf.cpp',
|
|
'generated/edk2_vss.cpp',
|
|
'generated/edk2_vss2.cpp',
|
|
'generated/edk2_ftw.cpp',
|
|
'generated/insyde_fdc.cpp',
|
|
'generated/insyde_fdm.cpp',
|
|
'generated/ms_slic_marker.cpp',
|
|
'generated/ms_slic_pubkey.cpp',
|
|
'generated/phoenix_flm.cpp',
|
|
'generated/phoenix_evsa.cpp',
|
|
'generated/intel_acbp_v1.cpp',
|
|
'generated/intel_acbp_v2.cpp',
|
|
'generated/intel_keym_v1.cpp',
|
|
'generated/intel_keym_v2.cpp',
|
|
'generated/intel_acm.cpp',
|
|
'kaitai/kaitaistream.cpp',
|
|
'digest/sha1.c',
|
|
'digest/sha256.c',
|
|
'digest/sha512.c',
|
|
'digest/sm3.c',
|
|
],
|
|
cpp_args: [
|
|
'-DU_ENABLE_NVRAM_PARSING_SUPPORT',
|
|
'-DU_ENABLE_ME_PARSING_SUPPORT',
|
|
'-DU_ENABLE_FIT_PARSING_SUPPORT',
|
|
'-DU_ENABLE_GUID_DATABASE_SUPPORT',
|
|
],
|
|
)
|