This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#args are | |
# 1= the path to the qmake file | |
# 2= qmake file (the pro file) | |
## debug | |
set -x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
## debug | |
set -x | |
## where does the lupdate and all the other bins live ? | |
QTDIR=/home/joseph/Qt/5.8/gcc_64/bin | |
## run over the files and make the .po files | |
for i in $(ls $1/translations/ |grep .po); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "bashhighlighter.h" | |
#include <QColor> | |
BashSyntaxHighlighter::BashSyntaxHighlighter(QObject *parent) | |
: | |
QSyntaxHighlighter(parent) | |
{ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |