summaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMike Jones <mjjones@us.ibm.com>2013-01-22 09:41:25 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-02-08 16:49:45 -0600
commitcaf328ccd931de4ce4e4d285d1a4e5ddd151abb5 (patch)
tree650c28362fef4b7fd3d8e727d2b13e25f119434b /config.mk
parent7c50ac8fa046052334326fd4f3c8447cb0c9514d (diff)
downloadtalos-hostboot-caf328ccd931de4ce4e4d285d1a4e5ddd151abb5.tar.gz
talos-hostboot-caf328ccd931de4ce4e4d285d1a4e5ddd151abb5.zip
ERRL: Create Hostboot error log SRC/UD parser and deliver to FSP bld
A new script called genErrlParsers will scan the Hostboot code for error log tags and create a SRC parser for each component. The script will also scan the Hostboot code for plugin directories containing User Detail Data parsers and will create a makefile that is used by the FSP to build each component's SRC/UD parser. Change-Id: I7113f6cd8069447a1caaa199aff199b663d59072 RTC: 47518 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2975 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index 7693da874..4a11aaefe 100644
--- a/config.mk
+++ b/config.mk
@@ -32,6 +32,7 @@ ifdef MODULE
OBJDIR = ${ROOTPATH}/obj/modules/${MODULE}
BEAMDIR = ${ROOTPATH}/obj/beam/${MODULE}
GENDIR = ${ROOTPATH}/obj/genfiles
+GENDIR_PLUGINS = ${ROOTPATH}/obj/genfiles/plugins
IMGDIR = ${ROOTPATH}/img
GCOVNAME = ${MODULE}.lcov
EXTRACOMMONFLAGS += -fPIC -Bsymbolic -Bsymbolic-functions
@@ -52,6 +53,7 @@ else
OBJDIR = ${ROOTPATH}/obj/core
BEAMDIR = ${ROOTPATH}/obj/beam/core
GENDIR = ${ROOTPATH}/obj/genfiles
+GENDIR_PLUGINS = ${ROOTPATH}/obj/genfiles/plugins
IMGDIR = ${ROOTPATH}/img
EXTRAINCDIR += ${GENDIR}
GCOVNAME = $(notdir $(shell pwd)).lcov
@@ -354,9 +356,11 @@ endif
gen_pass:
mkdir -p ${GENDIR}
+ mkdir -p ${GENDIR_PLUGINS}
${MAKE} GEN_PASS
_GENFILES = $(addprefix ${GENDIR}/, $(GENFILES))
+_GENFILES += $(addprefix ${GENDIR_PLUGINS}/, $(GENFILES_PLUGINS))
GEN_PASS: $(_GENFILES) $(_BINARYFILES) ${SUBDIRS:.d=.gen_pass}
GENTARGET = $(addprefix %/, $(1))
OpenPOWER on IntegriCloud