summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/fapi
diff options
context:
space:
mode:
authorDoug Gilbert <dgilbert@us.ibm.com>2014-02-21 12:17:52 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-03-20 14:41:20 -0500
commitc753ba81874b631e12d42ea70dafb7ffa9a2b253 (patch)
tree890b3b24e57a467508ef0cc2dd2a3eac576346f4 /src/usr/hwpf/fapi
parent08559a94f2191465efec85fe9a6da825b7eadf8f (diff)
downloadtalos-hostboot-c753ba81874b631e12d42ea70dafb7ffa9a2b253.tar.gz
talos-hostboot-c753ba81874b631e12d42ea70dafb7ffa9a2b253.zip
Port FAPI code to HBRT
RTC: 96621 Change-Id: I9fa0188796df0dfb73a54c8c2e8581ac65e9f75d Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9152 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/fapi')
-rw-r--r--src/usr/hwpf/fapi/fapi.mk39
-rw-r--r--src/usr/hwpf/fapi/makefile19
-rw-r--r--src/usr/hwpf/fapi/runtime/makefile32
3 files changed, 74 insertions, 16 deletions
diff --git a/src/usr/hwpf/fapi/fapi.mk b/src/usr/hwpf/fapi/fapi.mk
new file mode 100644
index 000000000..3be4d36cb
--- /dev/null
+++ b/src/usr/hwpf/fapi/fapi.mk
@@ -0,0 +1,39 @@
+# IBM_PROLOG_BEGIN_TAG
+# This is an automatically generated prolog.
+#
+# $Source: src/usr/hwpf/fapi/fapi.mk $
+#
+# IBM CONFIDENTIAL
+#
+# COPYRIGHT International Business Machines Corp. 2014
+#
+# p1
+#
+# Object Code Only (OCO) source materials
+# Licensed Internal Code Source Materials
+# IBM HostBoot Licensed Internal Code
+#
+# The source code for this program is not published or otherwise
+# divested of its trade secrets, irrespective of what has been
+# deposited with the U.S. Copyright Office.
+#
+# Origin: 30
+#
+# IBM_PROLOG_END_TAG
+EXTRAINCDIR += ${ROOTPATH}/src/include/usr/ecmddatabuffer
+EXTRAINCDIR += ${ROOTPATH}/src/include/usr/hwpf/fapi
+EXTRAINCDIR += ${ROOTPATH}/src/include/usr/hwpf/plat
+EXTRAINCDIR += ${ROOTPATH}/src/include/usr/hwpf/hwp
+EXTRAINCDIR += ${ROOTPATH}/src/usr/hwpf/hwp/include
+
+CFLAGS += -D_NO_SPY_ACCESS=1
+
+OBJS += fapiReturnCode.o \
+ fapiReturnCodeDataRef.o \
+ fapiTarget.o \
+ fapiHwAccess.o \
+ fapiErrorInfo.o \
+ fapiAttributeService.o \
+ fapiChipEcFeature.o \
+ fapiCollectRegFfdc.o \
+
diff --git a/src/usr/hwpf/fapi/makefile b/src/usr/hwpf/fapi/makefile
index ae098e7d3..7cce04d0e 100644
--- a/src/usr/hwpf/fapi/makefile
+++ b/src/usr/hwpf/fapi/makefile
@@ -5,7 +5,7 @@
#
# IBM CONFIDENTIAL
#
-# COPYRIGHT International Business Machines Corp. 2011,2013
+# COPYRIGHT International Business Machines Corp. 2011,2014
#
# p1
#
@@ -23,22 +23,9 @@
ROOTPATH = ../../../..
MODULE = fapi
-EXTRAINCDIR += ${ROOTPATH}/src/include/usr/ecmddatabuffer
-EXTRAINCDIR += ${ROOTPATH}/src/include/usr/hwpf/fapi
-EXTRAINCDIR += ${ROOTPATH}/src/include/usr/hwpf/plat
-EXTRAINCDIR += ${ROOTPATH}/src/include/usr/hwpf/hwp
-EXTRAINCDIR += ${ROOTPATH}/src/usr/hwpf/hwp/include
+SUBDIRS = runtime.d
-CFLAGS += -D_NO_SPY_ACCESS=1
-
-OBJS = fapiReturnCode.o \
- fapiReturnCodeDataRef.o \
- fapiTarget.o \
- fapiHwAccess.o \
- fapiErrorInfo.o \
- fapiAttributeService.o \
- fapiChipEcFeature.o \
- fapiCollectRegFfdc.o
+include fapi.mk
include ${ROOTPATH}/config.mk
diff --git a/src/usr/hwpf/fapi/runtime/makefile b/src/usr/hwpf/fapi/runtime/makefile
new file mode 100644
index 000000000..9ccebb6ac
--- /dev/null
+++ b/src/usr/hwpf/fapi/runtime/makefile
@@ -0,0 +1,32 @@
+# IBM_PROLOG_BEGIN_TAG
+# This is an automatically generated prolog.
+#
+# $Source: src/usr/hwpf/fapi/runtime/makefile $
+#
+# IBM CONFIDENTIAL
+#
+# COPYRIGHT International Business Machines Corp. 2011,2014
+#
+# p1
+#
+# Object Code Only (OCO) source materials
+# Licensed Internal Code Source Materials
+# IBM HostBoot Licensed Internal Code
+#
+# The source code for this program is not published or otherwise
+# divested of its trade secrets, irrespective of what has been
+# deposited with the U.S. Copyright Office.
+#
+# Origin: 30
+#
+# IBM_PROLOG_END_TAG
+ROOTPATH = ../../../../..
+MODULE = fapi_rt
+VPATH += ../
+HOSTBOOT_RUNTIME = 1
+
+include ../fapi.mk
+
+include ${ROOTPATH}/config.mk
+
+vpath %.C ${GENDIR}
OpenPOWER on IntegriCloud