Skip to content

Commit

Permalink
build-rr: generate a sourceable $PATH-setting config
Browse files Browse the repository at this point in the history
Useful e.g. if you want to test rumprun-packages where you
cannot easily use $RUMPRUN_CC etc.
  • Loading branch information
anttikantee committed May 11, 2016
1 parent 1d9cdfb commit 74f418e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build-rr.sh
Expand Up @@ -383,6 +383,9 @@ export RUMPRUN_CC="${RRDEST}/bin/${TOOLTUPLE}-gcc"
export RUMPRUN_CXX="${RRDEST}/bin/${TOOLTUPLE}-g++"
export RUMPRUN="${RRDEST}/bin/rumprun"
export RUMPSTOP="${RRDEST}/bin/rumpstop"
EOF
cat > "${RROBJ}/config-PATH.sh" << EOF
export PATH="${RRDEST}/bin:\${PATH}"
EOF
export RUMPRUN_MKCONF="${RROBJ}/config.mk"

Expand Down Expand Up @@ -583,6 +586,9 @@ if ${DObuild}; then
fi
if ${DOinstall}; then
printf ">> installed to \"%s\"\n" ${RRDEST}
echo '>>'
echo '>> Set tooldir to front of $PATH (bourne-style shells)'
echo ". \"${RROBJ}/config-PATH.sh\""
fi
echo '>>'
echo ">> $0 ran successfully"
Expand Down

0 comments on commit 74f418e

Please sign in to comment.