-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Is the following syntax for SRC_URI allowed:
mips? ( mirror://sourceforge/sbcl/${PN}-${BV_MIPS}-$([[$(tc-endian) = big]] &&
echo mips || echo mipsel)-linux-binary.tar.bz2 )
It is supposed to be a replacement of:
mips? ( !cobalt? (
mirror://sourceforge/sbcl/${PN}-${BV_MIPS}-mips-linux-binary.tar.bz2 ) )
mips? ( cobalt? (
mirror://sourceforge/sbcl/${PN}-${BV_MIPSEL}-mipsel-linux-binary.tar.bz2 ) )
relevant tc-endian source:
tc-endian() {
local host=$1
[[ -z ${host} ]] && host=${CTARGET:-${CHOST}}
host=${host%%-*}
case ${host} in
mips*l*) echo little;;
mips*) echo big;;
*) echo wtf;;
esac
}
Marijn
- --
Marijn Schouten (hkBst), Gentoo Lisp project
<http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHIc3Fp/VmCx0OL2wRAq83AKCnHTVai8exLca9R50/7G2SHUgbMQCfSOQB
EmDPVakhM1vf5/AQXk8xtSk=
=B+0g
-----END PGP SIGNATURE-----
--
[EMAIL PROTECTED] mailing list