summaryrefslogtreecommitdiffstats
path: root/src/build/import_hwp_mk
diff options
context:
space:
mode:
authorspashabk-in <shakeebbk@in.ibm.com>2016-12-29 01:11:11 -0600
committerAMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>2017-02-03 05:09:45 -0500
commitc835670e2a0e0ba4061fb535a40c55f2532183f1 (patch)
tree64d41bd53c1503c0fda5eb7a9cb248450079c20e /src/build/import_hwp_mk
parent86844d608200c72970e2fca8fe802892b67ebac9 (diff)
downloadtalos-sbe-c835670e2a0e0ba4061fb535a40c55f2532183f1.tar.gz
talos-sbe-c835670e2a0e0ba4061fb535a40c55f2532183f1.zip
DD2 image infrastructure
Change-Id: Iacd98b961f87b805fab788f004d87880c4f5f7e0 cmvc-req:1013262 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34241 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
Diffstat (limited to 'src/build/import_hwp_mk')
-rw-r--r--src/build/import_hwp_mk/istep2/Makefile7
-rw-r--r--src/build/import_hwp_mk/istep3/Makefile6
-rw-r--r--src/build/import_hwp_mk/istep4/Makefile6
-rw-r--r--src/build/import_hwp_mk/istep5/Makefile4
-rw-r--r--src/build/import_hwp_mk/istepcommon/Makefile4
-rw-r--r--src/build/import_hwp_mk/istepmpipl/Makefile7
6 files changed, 21 insertions, 13 deletions
diff --git a/src/build/import_hwp_mk/istep2/Makefile b/src/build/import_hwp_mk/istep2/Makefile
index 06c3ab0a..8bfa2196 100644
--- a/src/build/import_hwp_mk/istep2/Makefile
+++ b/src/build/import_hwp_mk/istep2/Makefile
@@ -5,7 +5,7 @@
#
# OpenPOWER sbe Project
#
-# Contributors Listed Below - COPYRIGHT 2016
+# Contributors Listed Below - COPYRIGHT 2016,2017
# [+] International Business Machines Corp.
#
#
@@ -26,14 +26,16 @@
# "*.mk" file in this directory.
#all generated files from this makefile will end up in obj/*
-export SUB_OBJDIR = /istep2
+export SUB_OBJDIR = /$(IMPORT_OBJDIR)/istep2
include img_defs.mk
include istep2files.mk
export VPATH = $(PERV_SRCDIR):$(NEST_SRCDIR):$(CACHE_SRCDIR):$(CORE_SRCDIR):$(PM_SRCDIR):$(INITFILES_SRCDIR):$(LIB_SRCDIR)
+ifneq ($(ddlevel), DD2)
GCC-CFLAGS += -mlongcall
+endif
OBJSISTEP2 := $(addprefix $(OBJDIR-ISTEP2)/, $(ISTEP2_OBJECTS))
@@ -43,7 +45,6 @@ libistep2.a: istep2
$(AR) crs $(OBJDIR-ISTEP2)/libistep2.a $(OBJDIR-ISTEP2)/*.o
istep2: $(OBJSISTEP2)
-
$(OBJSISTEP2) $(OBJSISTEP2:.o=.d): | $(OBJDIR-ISTEP2)
$(OBJDIR-ISTEP2):
diff --git a/src/build/import_hwp_mk/istep3/Makefile b/src/build/import_hwp_mk/istep3/Makefile
index f692cf8c..ef27452f 100644
--- a/src/build/import_hwp_mk/istep3/Makefile
+++ b/src/build/import_hwp_mk/istep3/Makefile
@@ -5,7 +5,7 @@
#
# OpenPOWER sbe Project
#
-# Contributors Listed Below - COPYRIGHT 2016
+# Contributors Listed Below - COPYRIGHT 2016,2017
# [+] International Business Machines Corp.
#
#
@@ -26,14 +26,16 @@
# "*.mk" file in this directory.
#all generated files from this makefile will end up in obj/*
-export SUB_OBJDIR = /istep3
+export SUB_OBJDIR = /$(IMPORT_OBJDIR)/istep3
include img_defs.mk
include istep3files.mk
export VPATH = $(PERV_SRCDIR):$(NEST_SRCDIR):$(CACHE_SRCDIR):$(CORE_SRCDIR):$(PM_SRCDIR):$(INITFILES_SRCDIR):$(LIB_SRCDIR)
+ifneq ($(ddlevel), DD2)
GCC-CFLAGS += -mlongcall
+endif
OBJSISTEP3 := $(addprefix $(OBJDIR-ISTEP3)/, $(ISTEP3_OBJECTS))
diff --git a/src/build/import_hwp_mk/istep4/Makefile b/src/build/import_hwp_mk/istep4/Makefile
index 882d47f6..116b783d 100644
--- a/src/build/import_hwp_mk/istep4/Makefile
+++ b/src/build/import_hwp_mk/istep4/Makefile
@@ -5,7 +5,7 @@
#
# OpenPOWER sbe Project
#
-# Contributors Listed Below - COPYRIGHT 2016
+# Contributors Listed Below - COPYRIGHT 2016,2017
# [+] International Business Machines Corp.
#
#
@@ -26,14 +26,16 @@
# "*.mk" file in this directory.
#all generated files from this makefile will end up in obj/*
-export SUB_OBJDIR = /istep4
+export SUB_OBJDIR = /$(IMPORT_OBJDIR)/istep4
include img_defs.mk
include istep4files.mk
export VPATH = $(PERV_SRCDIR):$(NEST_SRCDIR):$(CACHE_SRCDIR):$(CORE_SRCDIR):$(PM_SRCDIR):$(INITFILES_SRCDIR):$(LIB_SRCDIR)
+ifneq ($(ddlevel), DD2)
GCC-CFLAGS += -mlongcall
+endif
OBJSISTEP4 := $(addprefix $(OBJDIR-ISTEP4)/, $(ISTEP4_OBJECTS))
diff --git a/src/build/import_hwp_mk/istep5/Makefile b/src/build/import_hwp_mk/istep5/Makefile
index ee1f2b51..5af46dd0 100644
--- a/src/build/import_hwp_mk/istep5/Makefile
+++ b/src/build/import_hwp_mk/istep5/Makefile
@@ -5,7 +5,7 @@
#
# OpenPOWER sbe Project
#
-# Contributors Listed Below - COPYRIGHT 2016
+# Contributors Listed Below - COPYRIGHT 2016,2017
# [+] International Business Machines Corp.
#
#
@@ -26,7 +26,7 @@
# "*.mk" file in this directory.
#all generated files from this makefile will end up in obj/*
-export SUB_OBJDIR = /istep5
+export SUB_OBJDIR = /$(IMPORT_OBJDIR)/istep5
include img_defs.mk
include istep5files.mk
diff --git a/src/build/import_hwp_mk/istepcommon/Makefile b/src/build/import_hwp_mk/istepcommon/Makefile
index c4386526..046c88a8 100644
--- a/src/build/import_hwp_mk/istepcommon/Makefile
+++ b/src/build/import_hwp_mk/istepcommon/Makefile
@@ -5,7 +5,7 @@
#
# OpenPOWER sbe Project
#
-# Contributors Listed Below - COPYRIGHT 2016
+# Contributors Listed Below - COPYRIGHT 2016,2017
# [+] International Business Machines Corp.
#
#
@@ -26,7 +26,7 @@
# "*.mk" file in this directory.
#all generated files from this makefile will end up in obj/*
-export SUB_OBJDIR = /istepcommon
+export SUB_OBJDIR = /$(IMPORT_OBJDIR)/istepcommon
include img_defs.mk
include istepcommonfiles.mk
diff --git a/src/build/import_hwp_mk/istepmpipl/Makefile b/src/build/import_hwp_mk/istepmpipl/Makefile
index d9822f90..6742a13e 100644
--- a/src/build/import_hwp_mk/istepmpipl/Makefile
+++ b/src/build/import_hwp_mk/istepmpipl/Makefile
@@ -5,7 +5,8 @@
#
# OpenPOWER sbe Project
#
-# Contributors Listed Below - COPYRIGHT 2016
+# Contributors Listed Below - COPYRIGHT 2016,2017
+# [+] International Business Machines Corp.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -25,14 +26,16 @@
# "*.mk" file in this directory.
#all generated files from this makefile will end up in obj/*
-export SUB_OBJDIR = /istepmpipl
+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):$(LIB_SRCDIR)
+ifneq ($(ddlevel), DD2)
GCC-CFLAGS += -mlongcall
+endif
OBJSISTEPMPIPL := $(addprefix $(OBJDIR-ISTEPMPIPL)/, $(ISTEPMPIPL_OBJECTS))
OpenPOWER on IntegriCloud