com.meta: add FBPN field for ManufacturerExt usage
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I3d54d500e9c64b4890cf9c43c759f3ec9a3d21aa
diff --git a/gen/com/meta/Inventory/ManufacturerExt/meson.build b/gen/com/meta/Inventory/ManufacturerExt/meson.build
new file mode 100644
index 0000000..2f7e508
--- /dev/null
+++ b/gen/com/meta/Inventory/ManufacturerExt/meson.build
@@ -0,0 +1,15 @@
+# Generated file; do not modify.
+generated_sources += custom_target(
+ 'com/meta/Inventory/ManufacturerExt__cpp'.underscorify(),
+ input: [ '../../../../../yaml/com/meta/Inventory/ManufacturerExt.interface.yaml', ],
+ output: [ 'common.hpp', 'server.cpp', 'server.hpp', 'aserver.hpp', 'client.hpp', ],
+ depend_files: sdbusplusplus_depfiles,
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'cpp',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.current_source_dir() / '../../../../../yaml',
+ 'com/meta/Inventory/ManufacturerExt',
+ ],
+)
+
diff --git a/gen/com/meta/Inventory/meson.build b/gen/com/meta/Inventory/meson.build
new file mode 100644
index 0000000..a30b77c
--- /dev/null
+++ b/gen/com/meta/Inventory/meson.build
@@ -0,0 +1,16 @@
+# Generated file; do not modify.
+subdir('ManufacturerExt')
+generated_others += custom_target(
+ 'com/meta/Inventory/ManufacturerExt__markdown'.underscorify(),
+ input: [ '../../../../yaml/com/meta/Inventory/ManufacturerExt.interface.yaml', ],
+ output: [ 'ManufacturerExt.md' ],
+ depend_files: sdbusplusplus_depfiles,
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'markdown',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.current_source_dir() / '../../../../yaml',
+ 'com/meta/Inventory/ManufacturerExt',
+ ],
+)
+
diff --git a/gen/com/meta/meson.build b/gen/com/meta/meson.build
index dc845a4..d98d1bb 100644
--- a/gen/com/meta/meson.build
+++ b/gen/com/meta/meson.build
@@ -1,2 +1,3 @@
# Generated file; do not modify.
subdir('Hardware')
+subdir('Inventory')
diff --git a/yaml/com/meta/Inventory/ManufacturerExt.interface.yaml b/yaml/com/meta/Inventory/ManufacturerExt.interface.yaml
new file mode 100644
index 0000000..262d96b
--- /dev/null
+++ b/yaml/com/meta/Inventory/ManufacturerExt.interface.yaml
@@ -0,0 +1,12 @@
+description: >
+ This interface is never intended to be instantiated, but is used to define
+ enumerations for Inventory.Item.Decorator.ManufacturerExt custom fields.
+
+enumerations:
+ - name: Field
+ description: >
+ Possible values for the ManufacturerExt fields.
+ values:
+ - name: FBPN
+ description: >
+ Facebook Part Number