meson: fix libpldm move to its own repository
The libpldm moved into its own repository separate from pldm proper.
Update the wrap file and meson.build accordingly.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I9559f361de3fb66a73ab6d18611ec34753377585
diff --git a/meson.build b/meson.build
index a1f25d8..dc57e53 100644
--- a/meson.build
+++ b/meson.build
@@ -111,11 +111,7 @@
]
if get_option('with-host-communication-protocol')=='pldm'
- libpldm_dep = dependency(
- 'libpldm',
- fallback: ['pldm', 'libpldm_dep'],
- default_options: ['libpldm-only=enabled', 'oem-ibm=enabled'],
- )
+ libpldm_dep = dependency('libpldm')
deps += [
libpldm_dep,
cxx.find_library('pdbg'),
diff --git a/subprojects/libpldm.wrap b/subprojects/libpldm.wrap
new file mode 100644
index 0000000..5c90142
--- /dev/null
+++ b/subprojects/libpldm.wrap
@@ -0,0 +1,6 @@
+[wrap-git]
+url = https://github.com/openbmc/libpldm.git
+revision = HEAD
+
+[provide]
+libpldm = libpldm_dep
diff --git a/subprojects/pldm.wrap b/subprojects/pldm.wrap
deleted file mode 100644
index a49a2eb..0000000
--- a/subprojects/pldm.wrap
+++ /dev/null
@@ -1,3 +0,0 @@
-[wrap-git]
-url = https://github.com/openbmc/pldm.git
-revision = HEAD