Squashed 'third_party/mason/' content from commit cf3561b

git-subtree-dir: third_party/mason
git-subtree-split: cf3561bf78cb146821dba3d95c308fc44db05f46
This commit is contained in:
Patrick Niklaus
2016-12-15 10:31:15 +00:00
commit f8dd965435
796 changed files with 30230 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
#!/usr/bin/env bash
MASON_NAME=gcc
MASON_VERSION=4.9.2-cortex_a9
MASON_LIB_FILE=root/bin/arm-cortex_a9-linux-gnueabi-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}
echo ${MASON_ROOT}
export MASON_BUILD_PATH=${MASON_ROOT}/../toolchain/${MASON_PLATFORM}
}
function mason_compile {
mkdir -p ${MASON_PREFIX}
cp -av ${MASON_BUILD_PATH}/* ${MASON_PREFIX}/
}
function mason_cflags {
:
}
function mason_ldflags {
:
}
mason_run "$@"