Skip to content

Instantly share code, notes, and snippets.

View JosephMillsAtWork's full-sized avatar

Joseph Mills JosephMillsAtWork

View GitHub Profile
#!/bin/bash
cd /home/linaro
mkdir fsl_bsp_3.10.17_1.0.0_ga
cd fsl_bsp_3.10.17_1.0.0_ga
wget http://www.freescale.com/lgfiles/NMG/MAD/YOCTO//firmware-imx-3.10.17-1.0.0.bin
wget http://www.freescale.com/lgfiles/NMG/MAD/YOCTO//imx-lib-3.10.17-1.0.0.tar.gz
wget http://www.freescale.com/lgfiles/NMG/MAD/YOCTO//libfslparser-3.0.11.bin
#!/bin/bash
echo Building Google Protobuf for Mac OS X / iOS.
echo Use 'tail -f build.log' to monitor progress.
(
VERSION=2.6.1
DARWIN_RELEASE=`uname -r`
CORES=`sysctl hw.ncpu | awk '{print $2}'`
#PREFIX=`pwd`/protobuf
@JosephMillsAtWork
JosephMillsAtWork / android_configure.sh
Created May 11, 2016 05:42 — forked from nddrylliog/android_configure.sh
Cross-compile autotools library for Android / arm-linux-androideabi I stick that in ~/bin/, chmod +x, and then run it in place of "./configure" in my project. Then a make and make install later, the prefix contains libraries built for android. Neato eh?
#!/bin/sh
# I put all my dev stuff in here
export DEV_PREFIX=$HOME/Dev/
# Don't forget to adjust this to your NDK path
export ANDROID_NDK=${DEV_PREFIX}/android-ndk-r8d/
export CROSS_COMPILE=arm-linux-androideabi