]> xenbits.xensource.com Git - osstest/rumprun.git/commitdiff
build-rr: don't override correct MACHINE_ARCH.
authorAntti Kantee <pooka@iki.fi>
Tue, 27 Oct 2015 22:45:45 +0000 (22:45 +0000)
committerAntti Kantee <pooka@iki.fi>
Tue, 27 Oct 2015 22:45:45 +0000 (22:45 +0000)
The lossage stems from the fact that NetBSD uses i386 as
MACHINE, i386 as MACHINE_ARCH, and i486 as MACHINE_GNU_ARCH.
We want to follow the MACHINE_GNU_ARCH since it actually makes sense.

build-rr.sh

index a4f158edff63ff9eb8b87475368b65bec48ef0a8..4c246972b2b754574f843e42a948380a5471861c 100755 (executable)
@@ -283,9 +283,6 @@ buildrump ()
 
        RUMPMAKE=$(pwd)/${RUMPTOOLS}/rumpmake
 
-       MACHINE_ARCH=$(${RUMPMAKE} -f /dev/null -V '${MACHINE_ARCH}')
-       [ -n "${MACHINE_ARCH}" ] || die could not figure out target machine arch
-
        # this is slightly ridiculous
        echo ${MACHINE_ARCH} > ${RROBJ}/.machine_arch