treewide: Create yaml directory

This allows the propagated yamldir paramter to work correctly in
subproject style builds. We don't want other files in the project
conflicting with tools that scan the yamldir.

Change-Id: Ie2759c7f3baf399392cdda0e507055ceb262d2e1
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/gen/xyz/openbmc_project/Sensor/Threshold/meson.build b/gen/xyz/openbmc_project/Sensor/Threshold/meson.build
index bf16ddd..a0c182d 100644
--- a/gen/xyz/openbmc_project/Sensor/Threshold/meson.build
+++ b/gen/xyz/openbmc_project/Sensor/Threshold/meson.build
@@ -1,13 +1,13 @@
 # Generated file; do not modify.
 generated_sources += custom_target(
     'xyz/openbmc_project/Sensor/Threshold__cpp'.underscorify(),
-    input: [ '../../../../../xyz/openbmc_project/Sensor/Threshold.errors.yaml',  ],
+    input: [ '../../../../../yaml/xyz/openbmc_project/Sensor/Threshold.errors.yaml',  ],
     output: [ 'error.cpp', 'error.hpp',  ],
     command: [
         sdbuspp_gen_meson_prog, '--command', 'cpp',
         '--output', meson.current_build_dir(),
         '--tool', sdbusplusplus_prog,
-        '--directory', meson.current_source_dir() / '../../../../..',
+        '--directory', meson.current_source_dir() / '../../../../../yaml',
         'xyz/openbmc_project/Sensor/Threshold',
     ],
 )
@@ -15,13 +15,13 @@
 subdir('Critical')
 generated_others += custom_target(
     'xyz/openbmc_project/Sensor/Threshold/Critical__markdown'.underscorify(),
-    input: [ '../../../../../xyz/openbmc_project/Sensor/Threshold/Critical.interface.yaml',  ],
+    input: [ '../../../../../yaml/xyz/openbmc_project/Sensor/Threshold/Critical.interface.yaml',  ],
     output: [ 'Critical.md' ],
     command: [
         sdbuspp_gen_meson_prog, '--command', 'markdown',
         '--output', meson.current_build_dir(),
         '--tool', sdbusplusplus_prog,
-        '--directory', meson.current_source_dir() / '../../../../..',
+        '--directory', meson.current_source_dir() / '../../../../../yaml',
         'xyz/openbmc_project/Sensor/Threshold/Critical',
     ],
 )
@@ -29,13 +29,13 @@
 subdir('HardShutdown')
 generated_others += custom_target(
     'xyz/openbmc_project/Sensor/Threshold/HardShutdown__markdown'.underscorify(),
-    input: [ '../../../../../xyz/openbmc_project/Sensor/Threshold/HardShutdown.interface.yaml',  ],
+    input: [ '../../../../../yaml/xyz/openbmc_project/Sensor/Threshold/HardShutdown.interface.yaml',  ],
     output: [ 'HardShutdown.md' ],
     command: [
         sdbuspp_gen_meson_prog, '--command', 'markdown',
         '--output', meson.current_build_dir(),
         '--tool', sdbusplusplus_prog,
-        '--directory', meson.current_source_dir() / '../../../../..',
+        '--directory', meson.current_source_dir() / '../../../../../yaml',
         'xyz/openbmc_project/Sensor/Threshold/HardShutdown',
     ],
 )
@@ -43,13 +43,13 @@
 subdir('PerformanceLoss')
 generated_others += custom_target(
     'xyz/openbmc_project/Sensor/Threshold/PerformanceLoss__markdown'.underscorify(),
-    input: [ '../../../../../xyz/openbmc_project/Sensor/Threshold/PerformanceLoss.interface.yaml',  ],
+    input: [ '../../../../../yaml/xyz/openbmc_project/Sensor/Threshold/PerformanceLoss.interface.yaml',  ],
     output: [ 'PerformanceLoss.md' ],
     command: [
         sdbuspp_gen_meson_prog, '--command', 'markdown',
         '--output', meson.current_build_dir(),
         '--tool', sdbusplusplus_prog,
-        '--directory', meson.current_source_dir() / '../../../../..',
+        '--directory', meson.current_source_dir() / '../../../../../yaml',
         'xyz/openbmc_project/Sensor/Threshold/PerformanceLoss',
     ],
 )
@@ -57,13 +57,13 @@
 subdir('SoftShutdown')
 generated_others += custom_target(
     'xyz/openbmc_project/Sensor/Threshold/SoftShutdown__markdown'.underscorify(),
-    input: [ '../../../../../xyz/openbmc_project/Sensor/Threshold/SoftShutdown.interface.yaml',  ],
+    input: [ '../../../../../yaml/xyz/openbmc_project/Sensor/Threshold/SoftShutdown.interface.yaml',  ],
     output: [ 'SoftShutdown.md' ],
     command: [
         sdbuspp_gen_meson_prog, '--command', 'markdown',
         '--output', meson.current_build_dir(),
         '--tool', sdbusplusplus_prog,
-        '--directory', meson.current_source_dir() / '../../../../..',
+        '--directory', meson.current_source_dir() / '../../../../../yaml',
         'xyz/openbmc_project/Sensor/Threshold/SoftShutdown',
     ],
 )
@@ -71,13 +71,13 @@
 subdir('Warning')
 generated_others += custom_target(
     'xyz/openbmc_project/Sensor/Threshold/Warning__markdown'.underscorify(),
-    input: [ '../../../../../xyz/openbmc_project/Sensor/Threshold/Warning.interface.yaml',  ],
+    input: [ '../../../../../yaml/xyz/openbmc_project/Sensor/Threshold/Warning.interface.yaml',  ],
     output: [ 'Warning.md' ],
     command: [
         sdbuspp_gen_meson_prog, '--command', 'markdown',
         '--output', meson.current_build_dir(),
         '--tool', sdbusplusplus_prog,
-        '--directory', meson.current_source_dir() / '../../../../..',
+        '--directory', meson.current_source_dir() / '../../../../../yaml',
         'xyz/openbmc_project/Sensor/Threshold/Warning',
     ],
 )