summaryrefslogtreecommitdiffstats
path: root/src/build/import_hwp_mk/power/istepmpipl/Makefile
diff options
context:
space:
mode:
authorspashabk-in <shakeebbk@in.ibm.com>2017-12-09 09:36:11 -0600
committerSachin Gupta <sgupta2m@in.ibm.com>2018-01-19 04:26:41 -0500
commit8a863e816e41837dc954eba4b0962efcb0117889 (patch)
tree445824b8f8300753ecbe7d16950252c6b6621319 /src/build/import_hwp_mk/power/istepmpipl/Makefile
parentc149d7d8d8b884aba84cc90ddc98597a9e35581e (diff)
downloadtalos-sbe-8a863e816e41837dc954eba4b0962efcb0117889.tar.gz
talos-sbe-8a863e816e41837dc954eba4b0962efcb0117889.zip
[SBE-code-re-org][6] Build configuration
Makefile re-org for project specific build Change-Id: I51893710979f19cf00e41725c83d1c0c653c4b60 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50744 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/build/import_hwp_mk/power/istepmpipl/Makefile')
-rw-r--r--src/build/import_hwp_mk/power/istepmpipl/Makefile58
1 files changed, 58 insertions, 0 deletions
diff --git a/src/build/import_hwp_mk/power/istepmpipl/Makefile b/src/build/import_hwp_mk/power/istepmpipl/Makefile
new file mode 100644
index 00000000..e559e3d8
--- /dev/null
+++ b/src/build/import_hwp_mk/power/istepmpipl/Makefile
@@ -0,0 +1,58 @@
+# IBM_PROLOG_BEGIN_TAG
+# This is an automatically generated prolog.
+#
+# $Source: src/build/import_hwp_mk/power/istepmpipl/Makefile $
+#
+# OpenPOWER sbe Project
+#
+# Contributors Listed Below - COPYRIGHT 2016,2018
+#
+#
+# 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
+# This Makefile compiles all of the hardware procedure code. See the
+# "*.mk" file in this directory.
+
+#all generated files from this makefile will end up in obj/*
+export SUB_OBJDIR = /$(IMPORT_OBJDIR)/istepmpipl
+
+include img_defs.mk
+include istepmpiplfiles.mk
+
+export VPATH = $(PERV_SRCDIR):$(NEST_SRCDIR):$(CACHE_SRCDIR):$(CORE_SRCDIR):$(PM_SRCDIR):$(INITFILES_SRCDIR):$(HWPLIB_SRCDIR)
+
+ifneq ($(ddlevel), DD2)
+GCC-CFLAGS += -mlongcall
+endif
+
+OBJSISTEPMPIPL := $(addprefix $(OBJDIR-ISTEPMPIPL)/, $(ISTEPMPIPL_OBJECTS))
+
+.PHONY: clean istepmpipl
+
+libistepmpipl.a: istepmpipl
+ $(AR) crs $(OBJDIR-ISTEPMPIPL)/libistepmpipl.a $(OBJDIR-ISTEPMPIPL)/*.o
+
+istepmpipl: $(OBJSISTEPMPIPL)
+
+$(OBJSISTEPMPIPL) $(OBJSISTEPMPIPL:.o=.d): | $(OBJDIR-ISTEPMPIPL)
+
+$(OBJDIR-ISTEPMPIPL):
+ mkdir -p $(OBJDIR-ISTEPMPIPL)
+
+clean:
+ rm -fr $(OBJDIR-ISTEPMPIPL)
+
+ifneq ($(MAKECMDGOALS),clean)
+include $(OBJSISTEPMPIPL:.o=.d)
+endif
OpenPOWER on IntegriCloud