Remove libmapper dependency
phosphor-net-ipmid does not use the API in libmapper. This patch
removes the dependence on libmapper.
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
Change-Id: Iffaee8f84e0485c1b36a469d328b82ec4dad218c
diff --git a/command/guid.cpp b/command/guid.cpp
index 934853a..a963f02 100644
--- a/command/guid.cpp
+++ b/command/guid.cpp
@@ -1,7 +1,6 @@
#include "guid.hpp"
#include <ipmid/api.h>
-#include <mapper.h>
#include <ipmid/utils.hpp>
#include <phosphor-logging/elog-errors.hpp>
diff --git a/meson.build b/meson.build
index 1a685ce..6153f23 100644
--- a/meson.build
+++ b/meson.build
@@ -26,7 +26,6 @@
ipmid_dep = dependency('libipmid')
userlayer_dep = dependency('libuserlayer')
channellayer_dep = dependency('libchannellayer')
-mapper = dependency('libmapper')
# Project Arguments
cpp = meson.get_compiler('cpp')
@@ -49,7 +48,6 @@
phosphor_dbus_interfaces_dep,
phosphor_logging_dep,
sdbusplus_dep,
- mapper,
]
sources = [
diff --git a/subprojects/phosphor-objmgr.wrap b/subprojects/phosphor-objmgr.wrap
deleted file mode 100644
index 6e41898..0000000
--- a/subprojects/phosphor-objmgr.wrap
+++ /dev/null
@@ -1,6 +0,0 @@
-[wrap-git]
-url = https://github.com/openbmc/phosphor-objmgr
-revision = HEAD
-
-[provide]
-libmapper = mapper_dep