diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2013-04-05 14:52:54 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-04-18 09:14:35 -0500 |
commit | e51746288cafd570886dd30625f6a74d15ae3835 (patch) | |
tree | 7fd8af0c1f24e06b8e8099b104b8546fc29c4631 /env.bash | |
parent | d463911fd7122d75306f6ea9c042d96e1c3597c6 (diff) | |
download | talos-hostboot-e51746288cafd570886dd30625f6a74d15ae3835.tar.gz talos-hostboot-e51746288cafd570886dd30625f6a74d15ae3835.zip |
Support for new and custom fakeroots.
Change-Id: I94de98109b28434050030af824dd6ca50f7a18dc
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4042
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'env.bash')
-rwxr-xr-x | env.bash | 44 |
1 files changed, 21 insertions, 23 deletions
@@ -1,34 +1,36 @@ -# IBM_PROLOG_BEGIN_TAG -# This is an automatically generated prolog. +# IBM_PROLOG_BEGIN_TAG +# This is an automatically generated prolog. # -# $Source: env.bash $ +# $Source: env.bash $ # -# IBM CONFIDENTIAL +# IBM CONFIDENTIAL # -# COPYRIGHT International Business Machines Corp. 2010-2012 +# COPYRIGHT International Business Machines Corp. 2010,2013 # -# p1 +# p1 # -# Object Code Only (OCO) source materials -# Licensed Internal Code Source Materials -# IBM HostBoot Licensed Internal Code +# Object Code Only (OCO) source materials +# Licensed Internal Code Source Materials +# IBM HostBoot Licensed Internal Code # -# The source code for this program is not published or other- -# wise divested of its trade secrets, irrespective of what has -# been deposited with the U.S. Copyright Office. +# The source code for this program is not published or otherwise +# divested of its trade secrets, irrespective of what has been +# deposited with the U.S. Copyright Office. # -# Origin: 30 +# Origin: 30 # -# IBM_PROLOG_END_TAG +# IBM_PROLOG_END_TAG ROOTDIR=. -export MCP_PATH=/opt/mcp/shared/powerhal - -if [ -e /esw/fakeroot/ ]; then - export MCP_PATH=/esw/fakeroot +if [ -e ./customrc ]; then + source ./customrc fi -export PATH=${PATH}:${MCP_PATH}/opt/mcp/bin:${MCP_PATH}/usr/bin +export FAKEROOT=${FAKEROOT:-/opt/mcp/shared/powerpc64-gcc-20130412} +export CROSS_PREFIX=${CROSS_PREFIX:-powerpc64-unknown-linux-gnu-} +export HOST_PREFIX=${HOST_PREFIX:-x86_64-pc-linux-gnu-} + +export PATH=${FAKEROOT}/wrappers:${PATH} export PATH=${PATH}:`pwd`/src/build/lids export PATH=${PATH}:`pwd`/src/build/trace @@ -37,10 +39,6 @@ export PATH=${PATH}:`pwd`/src/build/tools export HOSTBOOTROOT=`pwd` TOOLSDIR=$HOSTBOOTROOT/src/build/tools -if [ -e ./customrc ]; then - source ./customrc -fi - if [ -n "${SANDBOXROOT}" ]; then if [ -n "${SANDBOXNAME}" ]; then export SANDBOXBASE="${SANDBOXROOT}/${SANDBOXNAME}" |