build: minor fix to meson regen script changing
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I4b9d96eba1d34126cd40974bfebc6321caaa4e71
diff --git a/gen/xyz/openbmc_project/Inventory/Decorator/UniqueIdentifier/meson.build b/gen/xyz/openbmc_project/Inventory/Decorator/UniqueIdentifier/meson.build
index 1da1200..c4d8489 100644
--- a/gen/xyz/openbmc_project/Inventory/Decorator/UniqueIdentifier/meson.build
+++ b/gen/xyz/openbmc_project/Inventory/Decorator/UniqueIdentifier/meson.build
@@ -1,13 +1,13 @@
# Generated file; do not modify.
generated_sources += custom_target(
'xyz/openbmc_project/Inventory/Decorator/UniqueIdentifier__cpp'.underscorify(),
- input: [ meson.source_root() / 'xyz/openbmc_project/Inventory/Decorator/UniqueIdentifier.interface.yaml', ],
+ input: [ meson.project_source_root() / 'xyz/openbmc_project/Inventory/Decorator/UniqueIdentifier.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.source_root(),
+ '--directory', meson.project_source_root(),
'xyz/openbmc_project/Inventory/Decorator/UniqueIdentifier',
],
)
diff --git a/gen/xyz/openbmc_project/Inventory/Decorator/meson.build b/gen/xyz/openbmc_project/Inventory/Decorator/meson.build
index 5058d7c..747829c 100644
--- a/gen/xyz/openbmc_project/Inventory/Decorator/meson.build
+++ b/gen/xyz/openbmc_project/Inventory/Decorator/meson.build
@@ -182,13 +182,13 @@
subdir('UniqueIdentifier')
generated_others += custom_target(
'xyz/openbmc_project/Inventory/Decorator/UniqueIdentifier__markdown'.underscorify(),
- input: [ meson.source_root() / 'xyz/openbmc_project/Inventory/Decorator/UniqueIdentifier.interface.yaml', ],
+ input: [ meson.project_source_root() / 'xyz/openbmc_project/Inventory/Decorator/UniqueIdentifier.interface.yaml', ],
output: [ 'UniqueIdentifier.md' ],
command: [
sdbuspp_gen_meson_prog, '--command', 'markdown',
'--output', meson.current_build_dir(),
'--tool', sdbusplusplus_prog,
- '--directory', meson.source_root(),
+ '--directory', meson.project_source_root(),
'xyz/openbmc_project/Inventory/Decorator/UniqueIdentifier',
],
build_by_default: true,