summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/attroverride/makefile
diff options
context:
space:
mode:
authorAndres Lugo-Reyes <aalugore@us.ibm.com>2014-11-26 13:11:29 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-02-02 11:36:57 -0600
commitf0d809efddca10be40e2e5b7a60e8c5106522c31 (patch)
tree0756a8d85374018563a1b59d53216382ca0c7197 /src/usr/targeting/attroverride/makefile
parent88105232544a3a358590336bc0b39d65bb5bed1e (diff)
downloadtalos-hostboot-f0d809efddca10be40e2e5b7a60e8c5106522c31.tar.gz
talos-hostboot-f0d809efddca10be40e2e5b7a60e8c5106522c31.zip
Tool to convert attribute text file into binary blob
Change-Id: I073fd9b904dbedf932ef8b07faa81e819206af28 RTC:108833 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14634 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/attroverride/makefile')
-rw-r--r--src/usr/targeting/attroverride/makefile50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/usr/targeting/attroverride/makefile b/src/usr/targeting/attroverride/makefile
new file mode 100644
index 000000000..371523599
--- /dev/null
+++ b/src/usr/targeting/attroverride/makefile
@@ -0,0 +1,50 @@
+# IBM_PROLOG_BEGIN_TAG
+# This is an automatically generated prolog.
+#
+# $Source: src/exttools/attroverride/makefile $
+#
+# OpenPOWER HostBoot Project
+#
+# Contributors Listed Below - COPYRIGHT 2014,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 = ../../../..
+
+OUT_FILE += $(GENDIR)/attributeOverride
+CLEAN_TARGETS += $(OUT_FILE)
+
+GEN_PASS_BODY += $(OUT_FILE)
+
+INC_DIRS += $(ROOTPATH)/src/usr/targeting/
+INC_DIRS += $(GENDIR)
+INC_DIRS += $(ROOTPATH)/src/include/usr
+VPATH += $(ROOTPATH)/src/usr/pnor
+
+
+C_FILES = attrTextToBinaryBlob.C ecc.C
+H_FILES = targAttrOverrideData.H fapiAttrOverrideData.H\
+ fapiAttrOverrideEnums.H
+
+include $(ROOTPATH)/config.mk
+vpath %.C $(GENDIR)
+vpath %.H $(GENDIR)
+
+$(OUT_FILE): $(C_FILES) $(H_FILES)
+ $(C2) " CC $(notdir $@)"
+ $(C1)$(CCACHE) $(HOST_PREFIX)g++ -O3 -g -o $(OUT_FILE)\
+ $(foreach dir,$(INC_DIRS), -I $(dir)) -iquote.\
+ $(foreach file,$^,$(if $(findstring .H,$(file)),,$(file)))
OpenPOWER on IntegriCloud