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/State/meson.build b/gen/xyz/openbmc_project/State/meson.build
index a5b6978..f27280e 100644
--- a/gen/xyz/openbmc_project/State/meson.build
+++ b/gen/xyz/openbmc_project/State/meson.build
@@ -2,13 +2,13 @@
 subdir('BMC')
 generated_others += custom_target(
     'xyz/openbmc_project/State/BMC__markdown'.underscorify(),
-    input: [ '../../../../xyz/openbmc_project/State/BMC.interface.yaml',  ],
+    input: [ '../../../../yaml/xyz/openbmc_project/State/BMC.interface.yaml',  ],
     output: [ 'BMC.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/State/BMC',
     ],
 )
@@ -16,13 +16,13 @@
 subdir('BMCRedundancy')
 generated_others += custom_target(
     'xyz/openbmc_project/State/BMCRedundancy__markdown'.underscorify(),
-    input: [ '../../../../xyz/openbmc_project/State/BMCRedundancy.interface.yaml',  ],
+    input: [ '../../../../yaml/xyz/openbmc_project/State/BMCRedundancy.interface.yaml',  ],
     output: [ 'BMCRedundancy.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/State/BMCRedundancy',
     ],
 )
@@ -31,13 +31,13 @@
 subdir('Chassis')
 generated_others += custom_target(
     'xyz/openbmc_project/State/Chassis__markdown'.underscorify(),
-    input: [ '../../../../xyz/openbmc_project/State/Chassis.interface.yaml',  ],
+    input: [ '../../../../yaml/xyz/openbmc_project/State/Chassis.interface.yaml',  ],
     output: [ 'Chassis.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/State/Chassis',
     ],
 )
@@ -46,13 +46,13 @@
 subdir('Drive')
 generated_others += custom_target(
     'xyz/openbmc_project/State/Drive__markdown'.underscorify(),
-    input: [ '../../../../xyz/openbmc_project/State/Drive.interface.yaml',  ],
+    input: [ '../../../../yaml/xyz/openbmc_project/State/Drive.interface.yaml',  ],
     output: [ 'Drive.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/State/Drive',
     ],
 )
@@ -60,13 +60,13 @@
 subdir('Host')
 generated_others += custom_target(
     'xyz/openbmc_project/State/Host__markdown'.underscorify(),
-    input: [ '../../../../xyz/openbmc_project/State/Host.interface.yaml',  ],
+    input: [ '../../../../yaml/xyz/openbmc_project/State/Host.interface.yaml',  ],
     output: [ 'Host.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/State/Host',
     ],
 )
@@ -75,13 +75,13 @@
 subdir('PowerOnHours')
 generated_others += custom_target(
     'xyz/openbmc_project/State/PowerOnHours__markdown'.underscorify(),
-    input: [ '../../../../xyz/openbmc_project/State/PowerOnHours.interface.yaml',  ],
+    input: [ '../../../../yaml/xyz/openbmc_project/State/PowerOnHours.interface.yaml',  ],
     output: [ 'PowerOnHours.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/State/PowerOnHours',
     ],
 )
@@ -89,13 +89,13 @@
 subdir('ScheduledHostTransition')
 generated_others += custom_target(
     'xyz/openbmc_project/State/ScheduledHostTransition__markdown'.underscorify(),
-    input: [ '../../../../xyz/openbmc_project/State/ScheduledHostTransition.interface.yaml',  ],
+    input: [ '../../../../yaml/xyz/openbmc_project/State/ScheduledHostTransition.interface.yaml',  ],
     output: [ 'ScheduledHostTransition.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/State/ScheduledHostTransition',
     ],
 )
@@ -104,13 +104,13 @@
 subdir('SystemdTarget')
 generated_others += custom_target(
     'xyz/openbmc_project/State/SystemdTarget__markdown'.underscorify(),
-    input: [ '../../../../xyz/openbmc_project/State/SystemdTarget.errors.yaml',  ],
+    input: [ '../../../../yaml/xyz/openbmc_project/State/SystemdTarget.errors.yaml',  ],
     output: [ 'SystemdTarget.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/State/SystemdTarget',
     ],
 )
@@ -118,13 +118,13 @@
 subdir('Watchdog')
 generated_others += custom_target(
     'xyz/openbmc_project/State/Watchdog__markdown'.underscorify(),
-    input: [ '../../../../xyz/openbmc_project/State/Watchdog.interface.yaml',  ],
+    input: [ '../../../../yaml/xyz/openbmc_project/State/Watchdog.interface.yaml',  ],
     output: [ 'Watchdog.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/State/Watchdog',
     ],
 )