diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2019-11-20 12:36:48 -0600 |
---|---|---|
committer | Nicholas E Bofferding <bofferdn@us.ibm.com> | 2019-12-06 10:28:47 -0600 |
commit | c46f1ee5b8b9f7ea7e398f373f990b6e3440a257 (patch) | |
tree | 7b897db6a651ba8a1c4e4e0567fd8305eb929760 /src/usr/initservice | |
parent | b28407123f5e5e834d658f994432ea77f8ba01d9 (diff) | |
download | talos-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/initservice')
5 files changed, 4 insertions, 10 deletions
diff --git a/src/usr/initservice/bootconfig/bootconfig.C b/src/usr/initservice/bootconfig/bootconfig.C index 8e2bf266b..f4839eee7 100644 --- a/src/usr/initservice/bootconfig/bootconfig.C +++ b/src/usr/initservice/bootconfig/bootconfig.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015 */ +/* Contributors Listed Below - COPYRIGHT 2015,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -27,7 +27,6 @@ /******************************************************************************/ #include <lpc/lpcif.H> #include <devicefw/userif.H> -#include <config.h> #include <errl/errlentry.H> #include "bootconfig.H" diff --git a/src/usr/initservice/bootconfig/bootconfig_ast2400.C b/src/usr/initservice/bootconfig/bootconfig_ast2400.C index 87caa32a5..cd4916203 100644 --- a/src/usr/initservice/bootconfig/bootconfig_ast2400.C +++ b/src/usr/initservice/bootconfig/bootconfig_ast2400.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015,2018 */ +/* Contributors Listed Below - COPYRIGHT 2015,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -33,7 +33,6 @@ #include <trace/interface.H> #include <hwas/common/deconfigGard.H> #include <console/consoleif.H> -#include <config.h> #include <sio/sio.H> #include <devicefw/driverif.H> diff --git a/src/usr/initservice/bootconfig/bootconfigif.C b/src/usr/initservice/bootconfig/bootconfigif.C index 488a8f537..1d931d705 100644 --- a/src/usr/initservice/bootconfig/bootconfigif.C +++ b/src/usr/initservice/bootconfig/bootconfigif.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015,2016 */ +/* Contributors Listed Below - COPYRIGHT 2015,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -27,12 +27,10 @@ /******************************************************************************/ #include <lpc/lpcif.H> #include <devicefw/userif.H> -#include <config.h> #include <errl/errlentry.H> #include <initservice/bootconfigif.H> #include "bootconfig.H" #include "bootconfig_ast2400.H" -#include <config.h> namespace INITSERVICE { diff --git a/src/usr/initservice/istepdispatcher/istepdispatcher.C b/src/usr/initservice/istepdispatcher/istepdispatcher.C index e8db88f33..973f7928b 100644 --- a/src/usr/initservice/istepdispatcher/istepdispatcher.C +++ b/src/usr/initservice/istepdispatcher/istepdispatcher.C @@ -78,7 +78,6 @@ #include <ipmi/ipmiif.H> #endif -#include <config.h> #include <initservice/bootconfigif.H> #include <trace/trace.H> #include <util/utilmbox_scratch.H> diff --git a/src/usr/initservice/istepdispatcher/istepdispatcher.H b/src/usr/initservice/istepdispatcher/istepdispatcher.H index 558fc95d1..ea383c4c9 100644 --- a/src/usr/initservice/istepdispatcher/istepdispatcher.H +++ b/src/usr/initservice/istepdispatcher/istepdispatcher.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2018 */ +/* Contributors Listed Below - COPYRIGHT 2011,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -44,7 +44,6 @@ #include <initservice/taskargs.H> #include <initservice/initsvcreasoncodes.H> #include <initservice/initsvcstructs.H> -#include <config.h> #include "../baseinitsvc/initservice.H" #include "splesscommon.H" #include "istep_mbox_msgs.H" |