[PATCH v3 11/20] smbios: build legacy mode code only for 'pc' machine

2024-03-12 Thread Igor Mammedov
basically moving code around without functional change. And exposing some symbols so that they could be shared between smbbios.c and new smbios_legacy.c plus some meson magic to build smbios_legacy.c only for 'pc' machine and otherwise replace it with stub if not selected. Signed-off-by: Igor

[PATCH v3 11/20] smbios: build legacy mode code only for 'pc' machine

2024-03-06 Thread Igor Mammedov
basically moving code around without functional change. And exposing some symbols so that they could be shared between smbbios.c and new smbios_legacy.c plus some meson magic to build smbios_legacy.c only for 'pc' machine and otherwise replace it with stub if not selected. Signed-off-by: Igor