Skip to content

Commit 27a022c

Browse files
amboarmanojkiraneda
authored andcommitted
libpldm: Migrate to subproject
Organize files in libpldm to make it a subproject In the current state, libpldm is not readily consumable as a subproject.This commit does all the necessary re-organisation of the source code to make it work as a subproject. There are no .c/.h files changes in this commit, only meson changes and re-organising the code structure. Signed-off-by: Manojkiran Eda <[email protected]> Change-Id: I20a71c0c972b1fd81fb359d604433618799102c6
1 parent eefe49b commit 27a022c

File tree

87 files changed

+2688
-2497
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+2688
-2497
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
subprojects/*
2+
!subprojects/libpldm*
23
!subprojects/*.wrap
34

45
# Template from

fw-update/inventory_manager.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#pragma once
22

3-
#include "libpldm/requester/pldm.h"
3+
#include "libpldm/pldm.h"
44

55
#include "common/types.hpp"
66
#include "pldmd/dbus_impl_requester.hpp"

fw-update/manager.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#pragma once
22

3-
#include "libpldm/requester/pldm.h"
3+
#include "libpldm/pldm.h"
44

55
#include "activation.hpp"
66
#include "common/types.hpp"

fw-update/update_manager.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#pragma once
22

33
#include "libpldm/base.h"
4-
#include "libpldm/requester/pldm.h"
4+
#include "libpldm/pldm.h"
55

66
#include "common/types.hpp"
77
#include "device_updater.hpp"
@@ -133,4 +133,4 @@ class UpdateManager
133133

134134
} // namespace fw_update
135135

136-
} // namespace pldm
136+
} // namespace pldm

host-bmc/dbus_to_event_handler.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "dbus_to_event_handler.hpp"
22

3-
#include "libpldm/requester/pldm.h"
3+
#include "libpldm/pldm.h"
44

55
#include "libpldmresponder/pdr.hpp"
66

host-bmc/dbus_to_host_effecters.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#include "libpldm/pdr.h"
44
#include "libpldm/platform.h"
5-
#include "libpldm/requester/pldm.h"
5+
#include "libpldm/pldm.h"
66

77
#include <xyz/openbmc_project/Common/error.hpp>
88
#include <xyz/openbmc_project/State/OperatingSystem/Status/server.hpp>

host-bmc/host_pdr_handler.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#include "host_pdr_handler.hpp"
44

5-
#include "libpldm/requester/pldm.h"
5+
#include "libpldm/pldm.h"
66

77
#include <assert.h>
88

libpldm/meson.build

-79
This file was deleted.

0 commit comments

Comments
 (0)