diff options
| author | Martin Peschke <mpeschke@de.ibm.com> | 2016-08-25 12:19:34 +0200 |
|---|---|---|
| committer | Joshua Hunsberger <jahunsbe@us.ibm.com> | 2018-02-05 15:41:56 -0600 |
| commit | 24281c00dd4dc72d5ceffb671f3d16820bc0a2d7 (patch) | |
| tree | 2414cf5552bba8cbe4abde213191fcbb0227510e /import/chips/p9/xip | |
| parent | 88b1e7d69e1ab7ca01414accaf7339933b8b5510 (diff) | |
| download | talos-hcode-24281c00dd4dc72d5ceffb671f3d16820bc0a2d7.tar.gz talos-hcode-24281c00dd4dc72d5ceffb671f3d16820bc0a2d7.zip | |
P9-XIP: Makefile accepts parameter that specifies output directory
To be used by SBE image build flow.
Change-Id: I079dbb99224eb74d2c729e70bf40846c8ddaef38
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28777
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Diffstat (limited to 'import/chips/p9/xip')
| -rw-r--r-- | import/chips/p9/xip/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/import/chips/p9/xip/Makefile b/import/chips/p9/xip/Makefile index 51f257b1..5531840c 100644 --- a/import/chips/p9/xip/Makefile +++ b/import/chips/p9/xip/Makefile @@ -28,6 +28,7 @@ # Make targets: # all : Builds P9-XIP code and tools in $(OBJ_DIR)/ # clean : Removes the $(OBJ_DIR)/ directory +# BINDIR can be passed in to determine the ouput directory ############################################################################ # Locations of required headers. @@ -40,7 +41,11 @@ XIP_FLAGS += -DFAPI2_NO_FFDC CXX_FLAGS += -std=c++11 +ifdef BINDIR +OBJ_DIR = $(BINDIR) +else OBJ_DIR = bin +endif # Under Linux the scheme is to use a common compiler to create procedures. # However, the common compiler can be VERY slow, so if the system compiler is |

