summaryrefslogtreecommitdiffstats
path: root/openpower/package/occ/occ.mk
diff options
context:
space:
mode:
authorBill Hoffa <wghoffa@us.ibm.com>2017-10-10 20:41:22 -0500
committerBill Hoffa <wghoffa@us.ibm.com>2017-10-11 08:45:17 -0500
commitfbd4fbf13f28d3cdf5c53a3088261825b8164bbb (patch)
tree65f4fa33b060971d22d443d77bb509dba6d62af7 /openpower/package/occ/occ.mk
parentd31e49cd8c969d7c566b61df589d582b7b4a44e7 (diff)
downloadtalos-op-build-fbd4fbf13f28d3cdf5c53a3088261825b8164bbb.tar.gz
talos-op-build-fbd4fbf13f28d3cdf5c53a3088261825b8164bbb.zip
Fix OCC Make process when using GPU Binary
Diffstat (limited to 'openpower/package/occ/occ.mk')
-rw-r--r--openpower/package/occ/occ.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpower/package/occ/occ.mk b/openpower/package/occ/occ.mk
index 194c7dd1..b9b92290 100644
--- a/openpower/package/occ/occ.mk
+++ b/openpower/package/occ/occ.mk
@@ -50,9 +50,9 @@ define OCC_BUILD_CMDS_P8
make combineImage
endef
define OCC_BUILD_CMDS_P9
- if ["$(BR2_OCC_GPU_BIN_BUILD)" == "y" ]; then \
+ if [ "$(BR2_OCC_GPU_BIN_BUILD)" == "y" ]; then \
cd $(@D)/src && \
- make PPE_TOOL_PATH=$(PPE42_GCC_BIN) OCC_OP_BUILD=1 CROSS_PREFIX=$(TARGET_CROSS) LD_LIBRARY_PATH=$(HOST_DIR)/usr/lib GPE1_BIN_IMAGE_PATH=$(STAGING_DIR)/hostboot_build_images/ OPOCC_GPU_SUPPORT=1 all; \
+ make PPE_TOOL_PATH=$(PPE42_GCC_BIN) OCC_OP_BUILD=1 CROSS_PREFIX=$(TARGET_CROSS) LD_LIBRARY_PATH=$(HOST_DIR)/usr/lib GPE1_BIN_IMAGE_PATH=$(STAGING_DIR)/hostboot_binaries/ OPOCC_GPU_SUPPORT=1 all; \
else \
cd $(@D)/src && \
make PPE_TOOL_PATH=$(PPE42_GCC_BIN) OCC_OP_BUILD=1 CROSS_PREFIX=$(TARGET_CROSS) LD_LIBRARY_PATH=$(HOST_DIR)/usr/lib all; \
OpenPOWER on IntegriCloud