From cf5599fe499f88e8ef28a9d343a7bd776a58a55a Mon Sep 17 00:00:00 2001 From: Zhikui Ren Date: Tue, 8 Dec 2020 15:28:42 -0800 Subject: [PATCH] update meson build for PLDM FWU interfaces Signed-off-by: Zhikui Ren --- .../PLDM/FWU/ACPIDescriptor/meson.build | 13 ++ .../ActiveComponentImageSetInfo/meson.build | 13 ++ .../PLDM/FWU/ActiveComponentInfo/meson.build | 13 ++ .../FWU/CapabilitiesDuringUpdate/meson.build | 13 ++ .../ComponentActivationMethods/meson.build | 13 ++ .../PLDM/FWU/FWUBase/meson.build | 13 ++ .../PLDM/FWU/IANADescriptor/meson.build | 13 ++ .../PLDM/FWU/PCIDescriptor/meson.build | 13 ++ .../PendingComponentImageSetInfo/meson.build | 13 ++ .../PLDM/FWU/PendingComponentInfo/meson.build | 13 ++ .../PLDM/FWU/PnPDescriptor/meson.build | 13 ++ gen/xyz/openbmc_project/PLDM/FWU/meson.build | 154 ++++++++++++++++++ gen/xyz/openbmc_project/PLDM/meson.build | 1 + 13 files changed, 298 insertions(+) create mode 100644 gen/xyz/openbmc_project/PLDM/FWU/ACPIDescriptor/meson.build create mode 100644 gen/xyz/openbmc_project/PLDM/FWU/ActiveComponentImageSetInfo/meson.build create mode 100644 gen/xyz/openbmc_project/PLDM/FWU/ActiveComponentInfo/meson.build create mode 100644 gen/xyz/openbmc_project/PLDM/FWU/CapabilitiesDuringUpdate/meson.build create mode 100644 gen/xyz/openbmc_project/PLDM/FWU/ComponentActivationMethods/meson.build create mode 100644 gen/xyz/openbmc_project/PLDM/FWU/FWUBase/meson.build create mode 100644 gen/xyz/openbmc_project/PLDM/FWU/IANADescriptor/meson.build create mode 100644 gen/xyz/openbmc_project/PLDM/FWU/PCIDescriptor/meson.build create mode 100644 gen/xyz/openbmc_project/PLDM/FWU/PendingComponentImageSetInfo/meson.build create mode 100644 gen/xyz/openbmc_project/PLDM/FWU/PendingComponentInfo/meson.build create mode 100644 gen/xyz/openbmc_project/PLDM/FWU/PnPDescriptor/meson.build create mode 100644 gen/xyz/openbmc_project/PLDM/FWU/meson.build diff --git a/gen/xyz/openbmc_project/PLDM/FWU/ACPIDescriptor/meson.build b/gen/xyz/openbmc_project/PLDM/FWU/ACPIDescriptor/meson.build new file mode 100644 index 00000000..d749e0a1 --- /dev/null +++ b/gen/xyz/openbmc_project/PLDM/FWU/ACPIDescriptor/meson.build @@ -0,0 +1,13 @@ +# Generated file; do not modify. +generated_sources += custom_target( + 'xyz/openbmc_project/PLDM/FWU/ACPIDescriptor__cpp'.underscorify(), + input: [ '../../../../../../yaml/xyz/openbmc_project/PLDM/FWU/ACPIDescriptor.interface.yaml', ], + output: [ 'server.cpp', 'server.hpp', 'client.hpp', ], + command: [ + sdbuspp_gen_meson_prog, '--command', 'cpp', + '--output', meson.current_build_dir(), + '--tool', sdbusplusplus_prog, + '--directory', meson.current_source_dir() / '../../../../../../yaml', + 'xyz/openbmc_project/PLDM/FWU/ACPIDescriptor', + ], +) diff --git a/gen/xyz/openbmc_project/PLDM/FWU/ActiveComponentImageSetInfo/meson.build b/gen/xyz/openbmc_project/PLDM/FWU/ActiveComponentImageSetInfo/meson.build new file mode 100644 index 00000000..6095764a --- /dev/null +++ b/gen/xyz/openbmc_project/PLDM/FWU/ActiveComponentImageSetInfo/meson.build @@ -0,0 +1,13 @@ +# Generated file; do not modify. +generated_sources += custom_target( + 'xyz/openbmc_project/PLDM/FWU/ActiveComponentImageSetInfo__cpp'.underscorify(), + input: [ '../../../../../../yaml/xyz/openbmc_project/PLDM/FWU/ActiveComponentImageSetInfo.interface.yaml', ], + output: [ 'server.cpp', 'server.hpp', 'client.hpp', ], + command: [ + sdbuspp_gen_meson_prog, '--command', 'cpp', + '--output', meson.current_build_dir(), + '--tool', sdbusplusplus_prog, + '--directory', meson.current_source_dir() / '../../../../../../yaml', + 'xyz/openbmc_project/PLDM/FWU/ActiveComponentImageSetInfo', + ], +) diff --git a/gen/xyz/openbmc_project/PLDM/FWU/ActiveComponentInfo/meson.build b/gen/xyz/openbmc_project/PLDM/FWU/ActiveComponentInfo/meson.build new file mode 100644 index 00000000..531e3050 --- /dev/null +++ b/gen/xyz/openbmc_project/PLDM/FWU/ActiveComponentInfo/meson.build @@ -0,0 +1,13 @@ +# Generated file; do not modify. +generated_sources += custom_target( + 'xyz/openbmc_project/PLDM/FWU/ActiveComponentInfo__cpp'.underscorify(), + input: [ '../../../../../../yaml/xyz/openbmc_project/PLDM/FWU/ActiveComponentInfo.interface.yaml', ], + output: [ 'server.cpp', 'server.hpp', 'client.hpp', ], + command: [ + sdbuspp_gen_meson_prog, '--command', 'cpp', + '--output', meson.current_build_dir(), + '--tool', sdbusplusplus_prog, + '--directory', meson.current_source_dir() / '../../../../../../yaml', + 'xyz/openbmc_project/PLDM/FWU/ActiveComponentInfo', + ], +) diff --git a/gen/xyz/openbmc_project/PLDM/FWU/CapabilitiesDuringUpdate/meson.build b/gen/xyz/openbmc_project/PLDM/FWU/CapabilitiesDuringUpdate/meson.build new file mode 100644 index 00000000..c0918434 --- /dev/null +++ b/gen/xyz/openbmc_project/PLDM/FWU/CapabilitiesDuringUpdate/meson.build @@ -0,0 +1,13 @@ +# Generated file; do not modify. +generated_sources += custom_target( + 'xyz/openbmc_project/PLDM/FWU/CapabilitiesDuringUpdate__cpp'.underscorify(), + input: [ '../../../../../../yaml/xyz/openbmc_project/PLDM/FWU/CapabilitiesDuringUpdate.interface.yaml', ], + output: [ 'server.cpp', 'server.hpp', 'client.hpp', ], + command: [ + sdbuspp_gen_meson_prog, '--command', 'cpp', + '--output', meson.current_build_dir(), + '--tool', sdbusplusplus_prog, + '--directory', meson.current_source_dir() / '../../../../../../yaml', + 'xyz/openbmc_project/PLDM/FWU/CapabilitiesDuringUpdate', + ], +) diff --git a/gen/xyz/openbmc_project/PLDM/FWU/ComponentActivationMethods/meson.build b/gen/xyz/openbmc_project/PLDM/FWU/ComponentActivationMethods/meson.build new file mode 100644 index 00000000..778dcd75 --- /dev/null +++ b/gen/xyz/openbmc_project/PLDM/FWU/ComponentActivationMethods/meson.build @@ -0,0 +1,13 @@ +# Generated file; do not modify. +generated_sources += custom_target( + 'xyz/openbmc_project/PLDM/FWU/ComponentActivationMethods__cpp'.underscorify(), + input: [ '../../../../../../yaml/xyz/openbmc_project/PLDM/FWU/ComponentActivationMethods.interface.yaml', ], + output: [ 'server.cpp', 'server.hpp', 'client.hpp', ], + command: [ + sdbuspp_gen_meson_prog, '--command', 'cpp', + '--output', meson.current_build_dir(), + '--tool', sdbusplusplus_prog, + '--directory', meson.current_source_dir() / '../../../../../../yaml', + 'xyz/openbmc_project/PLDM/FWU/ComponentActivationMethods', + ], +) diff --git a/gen/xyz/openbmc_project/PLDM/FWU/FWUBase/meson.build b/gen/xyz/openbmc_project/PLDM/FWU/FWUBase/meson.build new file mode 100644 index 00000000..61af12b6 --- /dev/null +++ b/gen/xyz/openbmc_project/PLDM/FWU/FWUBase/meson.build @@ -0,0 +1,13 @@ +# Generated file; do not modify. +generated_sources += custom_target( + 'xyz/openbmc_project/PLDM/FWU/FWUBase__cpp'.underscorify(), + input: [ '../../../../../../yaml/xyz/openbmc_project/PLDM/FWU/FWUBase.interface.yaml', ], + output: [ 'server.cpp', 'server.hpp', 'client.hpp', ], + command: [ + sdbuspp_gen_meson_prog, '--command', 'cpp', + '--output', meson.current_build_dir(), + '--tool', sdbusplusplus_prog, + '--directory', meson.current_source_dir() / '../../../../../../yaml', + 'xyz/openbmc_project/PLDM/FWU/FWUBase', + ], +) diff --git a/gen/xyz/openbmc_project/PLDM/FWU/IANADescriptor/meson.build b/gen/xyz/openbmc_project/PLDM/FWU/IANADescriptor/meson.build new file mode 100644 index 00000000..95a3f701 --- /dev/null +++ b/gen/xyz/openbmc_project/PLDM/FWU/IANADescriptor/meson.build @@ -0,0 +1,13 @@ +# Generated file; do not modify. +generated_sources += custom_target( + 'xyz/openbmc_project/PLDM/FWU/IANADescriptor__cpp'.underscorify(), + input: [ '../../../../../../yaml/xyz/openbmc_project/PLDM/FWU/IANADescriptor.interface.yaml', ], + output: [ 'server.cpp', 'server.hpp', 'client.hpp', ], + command: [ + sdbuspp_gen_meson_prog, '--command', 'cpp', + '--output', meson.current_build_dir(), + '--tool', sdbusplusplus_prog, + '--directory', meson.current_source_dir() / '../../../../../../yaml', + 'xyz/openbmc_project/PLDM/FWU/IANADescriptor', + ], +) diff --git a/gen/xyz/openbmc_project/PLDM/FWU/PCIDescriptor/meson.build b/gen/xyz/openbmc_project/PLDM/FWU/PCIDescriptor/meson.build new file mode 100644 index 00000000..16a28d25 --- /dev/null +++ b/gen/xyz/openbmc_project/PLDM/FWU/PCIDescriptor/meson.build @@ -0,0 +1,13 @@ +# Generated file; do not modify. +generated_sources += custom_target( + 'xyz/openbmc_project/PLDM/FWU/PCIDescriptor__cpp'.underscorify(), + input: [ '../../../../../../yaml/xyz/openbmc_project/PLDM/FWU/PCIDescriptor.interface.yaml', ], + output: [ 'server.cpp', 'server.hpp', 'client.hpp', ], + command: [ + sdbuspp_gen_meson_prog, '--command', 'cpp', + '--output', meson.current_build_dir(), + '--tool', sdbusplusplus_prog, + '--directory', meson.current_source_dir() / '../../../../../../yaml', + 'xyz/openbmc_project/PLDM/FWU/PCIDescriptor', + ], +) diff --git a/gen/xyz/openbmc_project/PLDM/FWU/PendingComponentImageSetInfo/meson.build b/gen/xyz/openbmc_project/PLDM/FWU/PendingComponentImageSetInfo/meson.build new file mode 100644 index 00000000..85f4c637 --- /dev/null +++ b/gen/xyz/openbmc_project/PLDM/FWU/PendingComponentImageSetInfo/meson.build @@ -0,0 +1,13 @@ +# Generated file; do not modify. +generated_sources += custom_target( + 'xyz/openbmc_project/PLDM/FWU/PendingComponentImageSetInfo__cpp'.underscorify(), + input: [ '../../../../../../yaml/xyz/openbmc_project/PLDM/FWU/PendingComponentImageSetInfo.interface.yaml', ], + output: [ 'server.cpp', 'server.hpp', 'client.hpp', ], + command: [ + sdbuspp_gen_meson_prog, '--command', 'cpp', + '--output', meson.current_build_dir(), + '--tool', sdbusplusplus_prog, + '--directory', meson.current_source_dir() / '../../../../../../yaml', + 'xyz/openbmc_project/PLDM/FWU/PendingComponentImageSetInfo', + ], +) diff --git a/gen/xyz/openbmc_project/PLDM/FWU/PendingComponentInfo/meson.build b/gen/xyz/openbmc_project/PLDM/FWU/PendingComponentInfo/meson.build new file mode 100644 index 00000000..3dcbb2de --- /dev/null +++ b/gen/xyz/openbmc_project/PLDM/FWU/PendingComponentInfo/meson.build @@ -0,0 +1,13 @@ +# Generated file; do not modify. +generated_sources += custom_target( + 'xyz/openbmc_project/PLDM/FWU/PendingComponentInfo__cpp'.underscorify(), + input: [ '../../../../../../yaml/xyz/openbmc_project/PLDM/FWU/PendingComponentInfo.interface.yaml', ], + output: [ 'server.cpp', 'server.hpp', 'client.hpp', ], + command: [ + sdbuspp_gen_meson_prog, '--command', 'cpp', + '--output', meson.current_build_dir(), + '--tool', sdbusplusplus_prog, + '--directory', meson.current_source_dir() / '../../../../../../yaml', + 'xyz/openbmc_project/PLDM/FWU/PendingComponentInfo', + ], +) diff --git a/gen/xyz/openbmc_project/PLDM/FWU/PnPDescriptor/meson.build b/gen/xyz/openbmc_project/PLDM/FWU/PnPDescriptor/meson.build new file mode 100644 index 00000000..997c6ddc --- /dev/null +++ b/gen/xyz/openbmc_project/PLDM/FWU/PnPDescriptor/meson.build @@ -0,0 +1,13 @@ +# Generated file; do not modify. +generated_sources += custom_target( + 'xyz/openbmc_project/PLDM/FWU/PnPDescriptor__cpp'.underscorify(), + input: [ '../../../../../../yaml/xyz/openbmc_project/PLDM/FWU/PnPDescriptor.interface.yaml', ], + output: [ 'server.cpp', 'server.hpp', 'client.hpp', ], + command: [ + sdbuspp_gen_meson_prog, '--command', 'cpp', + '--output', meson.current_build_dir(), + '--tool', sdbusplusplus_prog, + '--directory', meson.current_source_dir() / '../../../../../../yaml', + 'xyz/openbmc_project/PLDM/FWU/PnPDescriptor', + ], +) diff --git a/gen/xyz/openbmc_project/PLDM/FWU/meson.build b/gen/xyz/openbmc_project/PLDM/FWU/meson.build new file mode 100644 index 00000000..2bb71914 --- /dev/null +++ b/gen/xyz/openbmc_project/PLDM/FWU/meson.build @@ -0,0 +1,154 @@ +# Generated file; do not modify. +subdir('ACPIDescriptor') +generated_others += custom_target( + 'xyz/openbmc_project/PLDM/FWU/ACPIDescriptor__markdown'.underscorify(), + input: [ '../../../../../yaml/xyz/openbmc_project/PLDM/FWU/ACPIDescriptor.interface.yaml', ], + output: [ 'ACPIDescriptor.md' ], + command: [ + sdbuspp_gen_meson_prog, '--command', 'markdown', + '--output', meson.current_build_dir(), + '--tool', sdbusplusplus_prog, + '--directory', meson.current_source_dir() / '../../../../../yaml', + 'xyz/openbmc_project/PLDM/FWU/ACPIDescriptor', + ], +) + +subdir('ActiveComponentImageSetInfo') +generated_others += custom_target( + 'xyz/openbmc_project/PLDM/FWU/ActiveComponentImageSetInfo__markdown'.underscorify(), + input: [ '../../../../../yaml/xyz/openbmc_project/PLDM/FWU/ActiveComponentImageSetInfo.interface.yaml', ], + output: [ 'ActiveComponentImageSetInfo.md' ], + command: [ + sdbuspp_gen_meson_prog, '--command', 'markdown', + '--output', meson.current_build_dir(), + '--tool', sdbusplusplus_prog, + '--directory', meson.current_source_dir() / '../../../../../yaml', + 'xyz/openbmc_project/PLDM/FWU/ActiveComponentImageSetInfo', + ], +) + +subdir('ActiveComponentInfo') +generated_others += custom_target( + 'xyz/openbmc_project/PLDM/FWU/ActiveComponentInfo__markdown'.underscorify(), + input: [ '../../../../../yaml/xyz/openbmc_project/PLDM/FWU/ActiveComponentInfo.interface.yaml', ], + output: [ 'ActiveComponentInfo.md' ], + command: [ + sdbuspp_gen_meson_prog, '--command', 'markdown', + '--output', meson.current_build_dir(), + '--tool', sdbusplusplus_prog, + '--directory', meson.current_source_dir() / '../../../../../yaml', + 'xyz/openbmc_project/PLDM/FWU/ActiveComponentInfo', + ], +) + +subdir('CapabilitiesDuringUpdate') +generated_others += custom_target( + 'xyz/openbmc_project/PLDM/FWU/CapabilitiesDuringUpdate__markdown'.underscorify(), + input: [ '../../../../../yaml/xyz/openbmc_project/PLDM/FWU/CapabilitiesDuringUpdate.interface.yaml', ], + output: [ 'CapabilitiesDuringUpdate.md' ], + command: [ + sdbuspp_gen_meson_prog, '--command', 'markdown', + '--output', meson.current_build_dir(), + '--tool', sdbusplusplus_prog, + '--directory', meson.current_source_dir() / '../../../../../yaml', + 'xyz/openbmc_project/PLDM/FWU/CapabilitiesDuringUpdate', + ], +) + +subdir('ComponentActivationMethods') +generated_others += custom_target( + 'xyz/openbmc_project/PLDM/FWU/ComponentActivationMethods__markdown'.underscorify(), + input: [ '../../../../../yaml/xyz/openbmc_project/PLDM/FWU/ComponentActivationMethods.interface.yaml', ], + output: [ 'ComponentActivationMethods.md' ], + command: [ + sdbuspp_gen_meson_prog, '--command', 'markdown', + '--output', meson.current_build_dir(), + '--tool', sdbusplusplus_prog, + '--directory', meson.current_source_dir() / '../../../../../yaml', + 'xyz/openbmc_project/PLDM/FWU/ComponentActivationMethods', + ], +) + +subdir('FWUBase') +generated_others += custom_target( + 'xyz/openbmc_project/PLDM/FWU/FWUBase__markdown'.underscorify(), + input: [ '../../../../../yaml/xyz/openbmc_project/PLDM/FWU/FWUBase.interface.yaml', ], + output: [ 'FWUBase.md' ], + command: [ + sdbuspp_gen_meson_prog, '--command', 'markdown', + '--output', meson.current_build_dir(), + '--tool', sdbusplusplus_prog, + '--directory', meson.current_source_dir() / '../../../../../yaml', + 'xyz/openbmc_project/PLDM/FWU/FWUBase', + ], +) + +subdir('IANADescriptor') +generated_others += custom_target( + 'xyz/openbmc_project/PLDM/FWU/IANADescriptor__markdown'.underscorify(), + input: [ '../../../../../yaml/xyz/openbmc_project/PLDM/FWU/IANADescriptor.interface.yaml', ], + output: [ 'IANADescriptor.md' ], + command: [ + sdbuspp_gen_meson_prog, '--command', 'markdown', + '--output', meson.current_build_dir(), + '--tool', sdbusplusplus_prog, + '--directory', meson.current_source_dir() / '../../../../../yaml', + 'xyz/openbmc_project/PLDM/FWU/IANADescriptor', + ], +) + +subdir('PCIDescriptor') +generated_others += custom_target( + 'xyz/openbmc_project/PLDM/FWU/PCIDescriptor__markdown'.underscorify(), + input: [ '../../../../../yaml/xyz/openbmc_project/PLDM/FWU/PCIDescriptor.interface.yaml', ], + output: [ 'PCIDescriptor.md' ], + command: [ + sdbuspp_gen_meson_prog, '--command', 'markdown', + '--output', meson.current_build_dir(), + '--tool', sdbusplusplus_prog, + '--directory', meson.current_source_dir() / '../../../../../yaml', + 'xyz/openbmc_project/PLDM/FWU/PCIDescriptor', + ], +) + +subdir('PendingComponentImageSetInfo') +generated_others += custom_target( + 'xyz/openbmc_project/PLDM/FWU/PendingComponentImageSetInfo__markdown'.underscorify(), + input: [ '../../../../../yaml/xyz/openbmc_project/PLDM/FWU/PendingComponentImageSetInfo.interface.yaml', ], + output: [ 'PendingComponentImageSetInfo.md' ], + command: [ + sdbuspp_gen_meson_prog, '--command', 'markdown', + '--output', meson.current_build_dir(), + '--tool', sdbusplusplus_prog, + '--directory', meson.current_source_dir() / '../../../../../yaml', + 'xyz/openbmc_project/PLDM/FWU/PendingComponentImageSetInfo', + ], +) + +subdir('PendingComponentInfo') +generated_others += custom_target( + 'xyz/openbmc_project/PLDM/FWU/PendingComponentInfo__markdown'.underscorify(), + input: [ '../../../../../yaml/xyz/openbmc_project/PLDM/FWU/PendingComponentInfo.interface.yaml', ], + output: [ 'PendingComponentInfo.md' ], + command: [ + sdbuspp_gen_meson_prog, '--command', 'markdown', + '--output', meson.current_build_dir(), + '--tool', sdbusplusplus_prog, + '--directory', meson.current_source_dir() / '../../../../../yaml', + 'xyz/openbmc_project/PLDM/FWU/PendingComponentInfo', + ], +) + +subdir('PnPDescriptor') +generated_others += custom_target( + 'xyz/openbmc_project/PLDM/FWU/PnPDescriptor__markdown'.underscorify(), + input: [ '../../../../../yaml/xyz/openbmc_project/PLDM/FWU/PnPDescriptor.interface.yaml', ], + output: [ 'PnPDescriptor.md' ], + command: [ + sdbuspp_gen_meson_prog, '--command', 'markdown', + '--output', meson.current_build_dir(), + '--tool', sdbusplusplus_prog, + '--directory', meson.current_source_dir() / '../../../../../yaml', + 'xyz/openbmc_project/PLDM/FWU/PnPDescriptor', + ], +) diff --git a/gen/xyz/openbmc_project/PLDM/meson.build b/gen/xyz/openbmc_project/PLDM/meson.build index 2be636cb..35ff3019 100644 --- a/gen/xyz/openbmc_project/PLDM/meson.build +++ b/gen/xyz/openbmc_project/PLDM/meson.build @@ -13,6 +13,7 @@ generated_others += custom_target( ], ) +subdir('FWU') subdir('PDR') generated_others += custom_target( 'xyz/openbmc_project/PLDM/PDR__markdown'.underscorify(), -- 2.35.1