From f73c64bbe2cf9369892269a71893e2911753ba4d 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 000000000000..fbaf6c458645 --- /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 000000000000..af3df1483126 --- /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 000000000000..e5ff324231f5 --- /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 000000000000..03768e24090f --- /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 000000000000..31cffd2e311b --- /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 000000000000..3b90b51e1b7f --- /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 000000000000..5d28fb5cca5a --- /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 000000000000..0c2a5d572dd1 --- /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 000000000000..3fe7d85bbb29 --- /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 000000000000..a4d11a3317a4 --- /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 000000000000..d0508ca366ae --- /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 000000000000..2bb71914b606 --- /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 2be636cbaac0..35ff301901b3 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.17.1