summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorVernon Mauery <vernon.mauery@linux.intel.com>2019-03-12 16:49:26 -0700
committerVernon Mauery <vernon.mauery@linux.intel.com>2019-03-25 16:18:21 +0000
commit3325024067487320abddbf0ffb5a528b1743122a (patch)
tree715748d4da0eda64181464e215c749e6f15c90a0 /scripts
parent6a98fe7fd233813f3875d4a8c565234418a41f33 (diff)
downloadphosphor-host-ipmid-3325024067487320abddbf0ffb5a528b1743122a.zip
phosphor-host-ipmid-3325024067487320abddbf0ffb5a528b1743122a.tar.gz
move types.hpp to ipmid/types.hpp for export
types.hpp is required by utility.hpp, which is exported, so it needs to be exported as well. This moves it to the include/libipmid directory, changes the Makefile to export it, and changes all the files that include it so it can be found in the right place. Change-Id: I30ec365446e4de466c266ec4faa327478460ec05 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/inventorysensor.mako.cpp2
-rw-r--r--scripts/writechannel.mako.cpp2
-rw-r--r--scripts/writeentity.mako.cpp2
-rw-r--r--scripts/writesensor.mako.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/scripts/inventorysensor.mako.cpp b/scripts/inventorysensor.mako.cpp
index 000f758..f1ea8cd 100644
--- a/scripts/inventorysensor.mako.cpp
+++ b/scripts/inventorysensor.mako.cpp
@@ -3,7 +3,7 @@
// !!! WARNING: This is a GENERATED Code..Please do NOT Edit !!!
-#include "types.hpp"
+#include <ipmid/types.hpp>
using namespace ipmi::sensor;
extern const InvObjectIDMap invSensors = {
diff --git a/scripts/writechannel.mako.cpp b/scripts/writechannel.mako.cpp
index 922611a..83ee5cd 100644
--- a/scripts/writechannel.mako.cpp
+++ b/scripts/writechannel.mako.cpp
@@ -2,7 +2,7 @@
## into the rendered file; feel free to edit this file.
// !!! WARNING: This is a GENERATED Code..Please do NOT Edit !!!
-#include "types.hpp"
+#include <ipmid/types.hpp>
namespace ipmi
{
diff --git a/scripts/writeentity.mako.cpp b/scripts/writeentity.mako.cpp
index 9de11a0..4cfc82b 100644
--- a/scripts/writeentity.mako.cpp
+++ b/scripts/writeentity.mako.cpp
@@ -2,7 +2,7 @@
## into the rendered file; feel free to edit this file.
// !!! WARNING: This is a GENERATED Code..Please do NOT Edit !!!
-#include "types.hpp"
+#include <ipmid/types.hpp>
using namespace ipmi::sensor;
extern const EntityInfoMap entities = {
diff --git a/scripts/writesensor.mako.cpp b/scripts/writesensor.mako.cpp
index bbc80e3..559f0f9 100644
--- a/scripts/writesensor.mako.cpp
+++ b/scripts/writesensor.mako.cpp
@@ -24,9 +24,9 @@ interfaceDict = {}
%>\
% endfor
-#include "types.hpp"
#include "sensordatahandler.hpp"
+#include <ipmid/types.hpp>
using namespace ipmi::sensor;
extern const IdInfoMap sensors = {
OpenPOWER on IntegriCloud