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/scom | |
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/scom')
-rw-r--r-- | src/usr/scom/scom.C | 3 | ||||
-rw-r--r-- | src/usr/scom/test/scomtest.H | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/usr/scom/scom.C b/src/usr/scom/scom.C index 22567fb49..d8d696c52 100644 --- a/src/usr/scom/scom.C +++ b/src/usr/scom/scom.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2018 */ +/* Contributors Listed Below - COPYRIGHT 2011,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -50,7 +50,6 @@ #include <targeting/common/utilFilter.H> #include <targeting/namedtarget.H> -#include <config.h> #ifndef __HOSTBOOT_RUNTIME #ifdef CONFIG_SECUREBOOT diff --git a/src/usr/scom/test/scomtest.H b/src/usr/scom/test/scomtest.H index fb56a803f..0ad82d625 100644 --- a/src/usr/scom/test/scomtest.H +++ b/src/usr/scom/test/scomtest.H @@ -39,7 +39,6 @@ #include <targeting/common/util.H> #include <targeting/common/utilFilter.H> #include <scom/scomif.H> -#include <config.h> #include <devicefw/driverif.H> |