From caf328ccd931de4ce4e4d285d1a4e5ddd151abb5 Mon Sep 17 00:00:00 2001 From: Mike Jones Date: Tue, 22 Jan 2013 09:41:25 -0600 Subject: 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 --- config.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config.mk') 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)) -- cgit v1.2.1