summaryrefslogtreecommitdiffstats
path: root/src/usr/fapi2
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2019-11-20 12:36:48 -0600
committerNicholas E Bofferding <bofferdn@us.ibm.com>2019-12-06 10:28:47 -0600
commitc46f1ee5b8b9f7ea7e398f373f990b6e3440a257 (patch)
tree7b897db6a651ba8a1c4e4e0567fd8305eb929760 /src/usr/fapi2
parentb28407123f5e5e834d658f994432ea77f8ba01d9 (diff)
downloadtalos-hostboot-c46f1ee5b8b9f7ea7e398f373f990b6e3440a257.tar.gz
talos-hostboot-c46f1ee5b8b9f7ea7e398f373f990b6e3440a257.zip
Automatically include config.h
Rather than having to remember to include config.h anywhere we reference a CONFIG variable (and usually forgetting), this adds it to the default compiler flags so that it gets included in every source file we build. Change-Id: I53622ab4d46c55d942e98cae6ec03049fd5b3d08 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/87475 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Zachary Clark <zach@ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Christian R Geddes <crgeddes@us.ibm.com> Reviewed-by: Nicholas E Bofferding <bofferdn@us.ibm.com>
Diffstat (limited to 'src/usr/fapi2')
-rw-r--r--src/usr/fapi2/attribute_service.C1
-rw-r--r--src/usr/fapi2/test/fapi2GetChildrenTest.H1
-rw-r--r--src/usr/fapi2/test/fapi2MmioAccessTest.H1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/usr/fapi2/attribute_service.C b/src/usr/fapi2/attribute_service.C
index c909467f5..4b994fe65 100644
--- a/src/usr/fapi2/attribute_service.C
+++ b/src/usr/fapi2/attribute_service.C
@@ -37,7 +37,6 @@
// supported HWPF attributes lists attributes handled by Hostboot
#include <stdint.h>
-#include <config.h>
#include <return_code.H>
#include <attribute_ids.H>
#include <attributeenums.H>
diff --git a/src/usr/fapi2/test/fapi2GetChildrenTest.H b/src/usr/fapi2/test/fapi2GetChildrenTest.H
index 5dcf02547..961579e1f 100644
--- a/src/usr/fapi2/test/fapi2GetChildrenTest.H
+++ b/src/usr/fapi2/test/fapi2GetChildrenTest.H
@@ -32,7 +32,6 @@
#include <functional>
#include <plat_utils.H>
#include <error_scope.H>
-#include <config.h>
namespace fapi2
{
diff --git a/src/usr/fapi2/test/fapi2MmioAccessTest.H b/src/usr/fapi2/test/fapi2MmioAccessTest.H
index a724f2f21..fffec22e8 100644
--- a/src/usr/fapi2/test/fapi2MmioAccessTest.H
+++ b/src/usr/fapi2/test/fapi2MmioAccessTest.H
@@ -38,7 +38,6 @@
#include <fapi2TestUtils.H>
#include <p9_mmiotests.H>
#include <plat_hwp_invoker.H>
-#include <config.h>
#include <test/exptest_utils.H>
using namespace fapi2;
OpenPOWER on IntegriCloud