osrm-backend/scripts/gcc/4.9.2-cortex_a9-hf/script.sh

32 lines
547 B
Bash
Raw Normal View History

#!/usr/bin/env bash
MASON_NAME=gcc
MASON_VERSION=4.9.2-cortex_a9-hf
MASON_LIB_FILE=root/bin/arm-cortex_a9-linux-gnueabihf-gcc
. ${MASON_DIR}/mason.sh
if [ -f ${MASON_PREFIX}/setup.sh ]; then
. ${MASON_PREFIX}/setup.sh
fi
function mason_load_source {
mkdir -p ${MASON_ROOT}
export MASON_BUILD_PATH=${MASON_ROOT}/../toolchain/${MASON_PLATFORM}/
}
function mason_compile {
mkdir -p ${MASON_PREFIX}
cp -a ${MASON_BUILD_PATH} ${MASON_PREFIX}
}
function mason_cflags {
:
}
function mason_ldflags {
:
}
mason_run "$@"