summaryrefslogtreecommitdiffstats
path: root/src/usr/errl
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/errl
parentb28407123f5e5e834d658f994432ea77f8ba01d9 (diff)
downloadblackbird-hostboot-c46f1ee5b8b9f7ea7e398f373f990b6e3440a257.tar.gz
blackbird-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/errl')
-rw-r--r--src/usr/errl/errlentry.C2
-rw-r--r--src/usr/errl/errli2c.C3
-rw-r--r--src/usr/errl/errlmanager.C1
-rw-r--r--src/usr/errl/errlmanager_common.C3
4 files changed, 2 insertions, 7 deletions
diff --git a/src/usr/errl/errlentry.C b/src/usr/errl/errlentry.C
index 9baeb67a0..78e1f9bc6 100644
--- a/src/usr/errl/errlentry.C
+++ b/src/usr/errl/errlentry.C
@@ -49,7 +49,6 @@
#include <errl/errludstate.H>
#include <errl/errli2c.H>
#include <trace/interface.H>
-#include <config.h>
#include "../trace/entry.H"
#include <util/align.H>
@@ -60,7 +59,6 @@
#include <targeting/common/targetservice.H>
#include <targeting/common/utilFilter.H>
#include <targeting/common/commontargeting.H>
-#include <config.h>
#include <initservice/initserviceif.H>
#include <attributeenums.H>
#include "errlentry_consts.H"
diff --git a/src/usr/errl/errli2c.C b/src/usr/errl/errli2c.C
index b3838a866..2c814ca58 100644
--- a/src/usr/errl/errli2c.C
+++ b/src/usr/errl/errli2c.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2018 */
+/* Contributors Listed Below - COPYRIGHT 2018,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -33,7 +33,6 @@
#include <hwas/common/deconfigGard.H>
#include <targeting/common/targetservice.H>
#include <targeting/common/utilFilter.H>
-#include <config.h>
#include <attributeenums.H>
#include <i2c/eepromif.H>
diff --git a/src/usr/errl/errlmanager.C b/src/usr/errl/errlmanager.C
index 05890dad7..2e787d2e0 100644
--- a/src/usr/errl/errlmanager.C
+++ b/src/usr/errl/errlmanager.C
@@ -50,7 +50,6 @@
#include <arch/pirformat.H>
#include <errldisplay/errldisplay.H>
#include <console/consoleif.H>
-#include <config.h>
#include <functional>
#include <hwas/common/deconfigGard.H>
#include <kernel/terminate.H>
diff --git a/src/usr/errl/errlmanager_common.C b/src/usr/errl/errlmanager_common.C
index e1e965e5a..bd84f2828 100644
--- a/src/usr/errl/errlmanager_common.C
+++ b/src/usr/errl/errlmanager_common.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2015,2018 */
+/* Contributors Listed Below - COPYRIGHT 2015,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -23,7 +23,6 @@
/* */
/* IBM_PROLOG_END_TAG */
#include <errl/errlmanager.H>
-#include <config.h>
#include <hwas/common/hwasCallout.H>
#include <errl/errlreasoncodes.H>
#ifdef CONFIG_BMC_IPMI
OpenPOWER on IntegriCloud