Artifact bf7d466ffafc8a59d8e5851c2e58a76453e21dc6:
- Executable file
build/make-kit-crosscompile
— part of check-in
[aa00b0ada2]
at
2012-05-13 18:50:59
on branch trunk
— Updated to use standard cross-compile script for Linux/MIPS target
Updated to include "mips" support in fake uname
Updated to not use fake uname for "mips" (user: rkeene, size: 549) [annotate] [blame] [check-ins using] [more...]
#! /usr/bin/env bash if [ -z "${CROSS}" ]; then echo 'Error: Environment variable CROSS is empty/unset. Aborting.' >&2 exit 1 fi CCROOT="${HOME}/root/cross-compilers/${CROSS}" CCROOTBIN="${CCROOT}/bin" PATH="$(pwd)/build/fake-bin:${PATH}:${CCROOTBIN}" AR="${CCROOTBIN}/${CROSS}-ar" CC="${CCROOTBIN}/${CROSS}-gcc ${CC_ADD}" CXX="${CCROOTBIN}/${CROSS}-g++ ${CC_ADD}" RANLIB="${CCROOTBIN}/${CROSS}-ranlib" if [ -z "${STRIP}" ]; then STRIP="${CCROOTBIN}/${CROSS}-strip" fi export PATH AR CC CXX RANLIB STRIP ./kitcreator "$@" --host="${CROSS}"