summaryrefslogtreecommitdiffstats
path: root/src/usr/isteps/mss/makefile
diff options
context:
space:
mode:
authorLateef Quraishi <lateef@us.ibm.com>2016-08-02 11:48:43 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-08-08 09:08:22 -0400
commit4f6a69855e0912c25f0e3cf3d937162e1b131f3c (patch)
treeff9284a800444ae98966cb47165717a47ffe13d3 /src/usr/isteps/mss/makefile
parent9df9fd233649eeb251f32a1218c73d0eb0dbbda7 (diff)
downloadtalos-hostboot-4f6a69855e0912c25f0e3cf3d937162e1b131f3c.tar.gz
talos-hostboot-4f6a69855e0912c25f0e3cf3d937162e1b131f3c.zip
Create ekb mirror libmss.so for isteps
makefile compiles all files under sub-direcotries and creates the library. isteps 07, 13 & 14 are including it Change-Id: I6171b9a1416c1b6ceab6d4e658cd37097d1bd70a RTC: 157095 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27798 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/isteps/mss/makefile')
-rw-r--r--src/usr/isteps/mss/makefile78
1 files changed, 78 insertions, 0 deletions
diff --git a/src/usr/isteps/mss/makefile b/src/usr/isteps/mss/makefile
new file mode 100644
index 000000000..0a96f1063
--- /dev/null
+++ b/src/usr/isteps/mss/makefile
@@ -0,0 +1,78 @@
+# IBM_PROLOG_BEGIN_TAG
+# This is an automatically generated prolog.
+#
+# $Source: src/usr/isteps/mss/makefile $
+#
+# OpenPOWER HostBoot Project
+#
+# Contributors Listed Below - COPYRIGHT 2016
+# [+] International Business Machines Corp.
+#
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied. See the License for the specific language governing
+# permissions and limitations under the License.
+#
+# IBM_PROLOG_END_TAG
+ROOTPATH = ../../../..
+
+PROCEDURES_PATH = ${ROOTPATH}/src/import/chips/p9/procedures
+
+#Add all the extra include paths
+EXTRAINCDIR += ${ROOTPATH}/src/import/hwpf/fapi2/include
+EXTRAINCDIR += ${ROOTPATH}/src/include/usr/fapi2/
+EXTRAINCDIR += ${ROOTPATH}/src/import/chips/p9/utils/
+EXTRAINCDIR += ${ROOTPATH}/src/import/chips/p9/utils/imageProcs/
+EXTRAINCDIR += ${ROOTPATH}/src/import/chips/p9/common/include
+
+EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory
+EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib
+EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/ccs/
+EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/dimm/
+EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/dimm/ddr4/
+EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/ecc/
+EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/eff_config/
+EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/fir/
+EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/freq/
+EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/mc/
+EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/mcbist/
+EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/phy/
+EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/spd/
+EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/termination/
+EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/utils/
+
+# Add common and generated parts to object list.
+
+MSS_PATH := $(PROCEDURES_PATH)/hwp/memory/lib
+MSS_SOURCE := $(shell find $(MSS_PATH) -name '*.C' -exec basename {} \;)
+MSS_MODULE_OBJS += $(patsubst %.C,%.o,$(MSS_SOURCE))
+
+MODULE = isteps_mss
+OBJS += $(MSS_MODULE_OBJS)
+$(call BUILD_MODULE)
+
+#HWP build tool
+include ${ROOTPATH}/procedure.rules.mk
+include ${ROOTPATH}/config.mk
+
+VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/ccs/
+VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/dimm/
+VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/dimm/ddr4
+VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/ecc/
+VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/eff_config/
+VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/fir/
+VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/freq/
+VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/mc/
+VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/mcbist/
+VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/phy/
+VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/spd/
+VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/termination/
+VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/utils/
OpenPOWER on IntegriCloud