diff options
author | Monte Copeland <copelanm@us.ibm.com> | 2011-08-11 15:57:40 -0500 |
---|---|---|
committer | Monte K. Copeland <copelanm@us.ibm.com> | 2011-08-16 13:24:44 -0500 |
commit | f24bf89ab0cb82fee8ab80ed6f5aa8142e3db462 (patch) | |
tree | 8647432fc82bbd34becc2ebcd7f50f2fccd469b8 /src/usr/errl/parser/makefile | |
parent | 802274b948ef4a52deb4285368a086f669d3913b (diff) | |
download | talos-hostboot-f24bf89ab0cb82fee8ab80ed6f5aa8142e3db462.tar.gz talos-hostboot-f24bf89ab0cb82fee8ab80ed6f5aa8142e3db462.zip |
Changes to errl to commit error logs to L3 RAM 7
Change-Id: Ic058a5b9ea6f8f1d79fc0ff30097cc32f18423bd
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/221
Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
Tested-by: Jenkins Server
Diffstat (limited to 'src/usr/errl/parser/makefile')
-rw-r--r-- | src/usr/errl/parser/makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/usr/errl/parser/makefile b/src/usr/errl/parser/makefile new file mode 100644 index 000000000..f0d8e180b --- /dev/null +++ b/src/usr/errl/parser/makefile @@ -0,0 +1,35 @@ +# makefile for errlparser, +# a 32-bit x86 linux binary suitable for running on GFW pool machines. + + +ROOTPATH=../../../.. + +CC=g++ -m32 +CFLAGS:=-g -O0 -I $(ROOTPATH)/src/include/usr +BIN:=bin + + +all: code_pass + +gen_pass: + +code_pass: bindir $(BIN)/errlparser + +clean: + rm -fr $(BIN) + +beam: + +bindir: + mkdir -p $(BIN) + +$(BIN)/comps.C: $(ROOTPATH)/src/include/usr/hbotcompid.H readcomps.rex + rexx readcomps.rex $(ROOTPATH)/src/include/usr/hbotcompid.H >$(BIN)/comps.C + +$(BIN)/errlparser.o: errlparser.C $(ROOTPATH)/src/include/usr/errl/errltypes.H $(BIN)/comps.C + $(CC) -c $(CFLAGS) -I bin -o $(BIN)/errlparser.o errlparser.C + +$(BIN)/errlparser: $(BIN)/errlparser.o + $(CC) -o $(BIN)/errlparser $(BIN)/errlparser.o + + |