summaryrefslogtreecommitdiffstats
path: root/src/build/Makefile
diff options
context:
space:
mode:
authorspashabk-in <shakeebbk@in.ibm.com>2017-03-21 01:44:07 -0500
committerSachin Gupta <sgupta2m@in.ibm.com>2017-03-23 02:05:34 -0400
commitee43eabffe71c2b90b590f9b7754c995ada798e8 (patch)
tree4f646386dd6f0ca9cbb6adef30cb6fd3d255a86e /src/build/Makefile
parent8f2645e0257e98176e0d4968c498327741dec205 (diff)
downloadtalos-sbe-ee43eabffe71c2b90b590f9b7754c995ada798e8.tar.gz
talos-sbe-ee43eabffe71c2b90b590f9b7754c995ada798e8.zip
Build infra updates for op-build
RTC:166889 Change-Id: I668af45fbb905385236a9090d145b548e6c77c2d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38192 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/Makefile')
-rw-r--r--src/build/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/build/Makefile b/src/build/Makefile
index 3579a00a..aab7a9eb 100644
--- a/src/build/Makefile
+++ b/src/build/Makefile
@@ -223,7 +223,7 @@ report: $(P9_XIP_TOOL) $(IMG_DIR)/$(IMAGE_SEEPROM_NAME).bin
# Create build Info file
buildInfo:
- python buildInfo.py
+ python buildInfo.py $(OBJDIR)
#Create an obj directory if needed
@@ -272,7 +272,7 @@ $(SBE_IPL_TOOLS): $(P9_XIP_TOOL)
# Build the P9-XIP Tool
$(P9_XIP_TOOL):
- $(MAKE) -I $(P9_XIP_SRCDIR) -C $(P9_XIP_SRCDIR) -f Makefile BINDIR=$(P9_XIP_BINDIR)
+ $(MAKE) -I $(P9_XIP_SRCDIR) -C $(P9_XIP_SRCDIR) -f Makefile BINDIR=$(P9_XIP_BINDIR) CXX_FLAGS=-D__PPE__=1
cp $(P9_XIP_TOOL) $(IMG_DIR)/
normalize: $(P9_XIP_TOOL) $(IMG_DIR)/$(IMAGE_SEEPROM_NAME).bin
@@ -310,7 +310,7 @@ tracehash:
#clean the kernel directory first, then the application level clean
clean:
- rm -fr $(OBJDIR)
+ rm -fr $(SBE_ROOT_DIR)/obj
rm -fr $(IMG_DIR)
#Add dependencies to header files
OpenPOWER on IntegriCloud