setvars ()
{
- . ${RUMPTOOLS}/proberes.sh
+ # probe us some vars
+ eval $(${BUILDRUMP}/buildrump.sh "$@" probe)
MACHINE="${BUILDRUMP_MACHINE}"
MACHINE_GNU_ARCH="${BUILDRUMP_MACHINE_GNU_ARCH}"
buildrump ()
{
- # probe
- ${BUILDRUMP}/buildrump.sh -k -s ${RUMPSRC} -T ${RUMPTOOLS} "$@" probe
-
- setvars
-
# Check that a clang build is not attempted.
[ -z "${BUILDRUMP_HAVE_LLVM}" ] \
|| die rumprun does not yet support clang ${CC:+(\$CC: $CC)}
doinstall ()
{
- setvars
-
# default used to be a symlink, so this is for "compat".
# remove in a few months.
rm -f ${RRDEST} > /dev/null 2>&1 || true
parseargs "$@"
shift ${ARGSSHIFT}
+setvars "$@"
${DObuild} && dobuild "$@"
${DOinstall} && doinstall