summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf
diff options
context:
space:
mode:
authorPrachi Gupta <pragupta@us.ibm.com>2015-11-16 16:22:32 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-11-18 12:33:33 -0600
commit8338d8832750db58231d37b730a30216f77d5202 (patch)
tree05f95982cc2cc8d90c62973383e19f68e85a9f4f /src/usr/hwpf
parent37ad6f7b1a53aaaf063c0cca2baf42da92571139 (diff)
downloadtalos-hostboot-8338d8832750db58231d37b730a30216f77d5202.tar.gz
talos-hostboot-8338d8832750db58231d37b730a30216f77d5202.zip
Compiling DQ/DQS compression tool in hostboot
Change-Id: I177a021b7c9d938d69291521830a91600b33a69f Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22072 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Elizabeth Liner <eliner@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf')
-rw-r--r--src/usr/hwpf/hwp/makefile1
-rw-r--r--src/usr/hwpf/hwp/mvpd_accessors/compressionTool/makefile8
-rw-r--r--src/usr/hwpf/hwp/mvpd_accessors/makefile29
3 files changed, 34 insertions, 4 deletions
diff --git a/src/usr/hwpf/hwp/makefile b/src/usr/hwpf/hwp/makefile
index 9a78c0d9a..823faac1c 100644
--- a/src/usr/hwpf/hwp/makefile
+++ b/src/usr/hwpf/hwp/makefile
@@ -57,6 +57,7 @@ SUBDIRS += pstates.d
SUBDIRS += proc_hwreconfig.d
SUBDIRS += runtime.d
SUBDIRS += secure_boot.d
+SUBDIRS += mvpd_accessors.d
include ${ROOTPATH}/config.mk
diff --git a/src/usr/hwpf/hwp/mvpd_accessors/compressionTool/makefile b/src/usr/hwpf/hwp/mvpd_accessors/compressionTool/makefile
index ad4f49996..fa6b04766 100644
--- a/src/usr/hwpf/hwp/mvpd_accessors/compressionTool/makefile
+++ b/src/usr/hwpf/hwp/mvpd_accessors/compressionTool/makefile
@@ -5,7 +5,7 @@
#
# OpenPOWER HostBoot Project
#
-# Contributors Listed Below - COPYRIGHT 2014
+# Contributors Listed Below - COPYRIGHT 2014,2015
# [+] International Business Machines Corp.
#
#
@@ -24,9 +24,9 @@
# IBM_PROLOG_END_TAG
ROOTPATH = ../../../../../..
-OUT_FILE += $(ROOTPATH)/obj/modules/compression/compression
+OUT_FILE += $(GENDIR)/compression
-GEN_PASS_BODY += compression
+GEN_PASS_BODY += $(OUT_FILE)
CLEAN_TARGETS += $(OUT_FILE) compression.o
INC_DIRS += $(ROOTPATH)/src/include/usr/ecmddatabuffer
@@ -41,7 +41,7 @@ HCFLAGS += -Di386=1
include $(ROOTPATH)/config.mk
-compression: ecmdDataBufferBase.C DQCompressionLib.C EncodeDQMapping.C
+$(OUT_FILE): ecmdDataBufferBase.C DQCompressionLib.C EncodeDQMapping.C
$(C2) " CC $(notdir $@)"
$(C1)$(CCACHE) $(HOST_PREFIX)g++ -O3 -g $^ -o $(OUT_FILE)\
$(foreach dir,$(INC_DIRS), -I $(dir)) $(HCFLAGS)
diff --git a/src/usr/hwpf/hwp/mvpd_accessors/makefile b/src/usr/hwpf/hwp/mvpd_accessors/makefile
new file mode 100644
index 000000000..34bb8da52
--- /dev/null
+++ b/src/usr/hwpf/hwp/mvpd_accessors/makefile
@@ -0,0 +1,29 @@
+# IBM_PROLOG_BEGIN_TAG
+# This is an automatically generated prolog.
+#
+# $Source: src/usr/hwpf/hwp/mvpd_accessors/makefile $
+#
+# OpenPOWER HostBoot Project
+#
+# Contributors Listed Below - COPYRIGHT 2015
+# [+] 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 = ../../../../..
+
+SUBDIRS += compressionTool.d
+
+include ${ROOTPATH}/config.mk
OpenPOWER on IntegriCloud