Skip to content
This repository has been archived by the owner on Dec 5, 2017. It is now read-only.

Commit

Permalink
added
Browse files Browse the repository at this point in the history
  • Loading branch information
skarlsson committed Jan 20, 2016
1 parent ae740df commit df95bf3
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
15 changes: 15 additions & 0 deletions build_cross_raspbian.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/bash
export PI_TOOLS_HOME=~/xtools/tools
rm -rf bin
rm -rf lib
rm -rf build
rm -f CMakeCache.txt
rm -f ./lib/armeabi-v7a/*

mkdir build
cd build
cmake -D__RASPBIAN__=1 -D__LINUX__=1 -DCMAKE_TOOLCHAIN_FILE=../build-scripts/toolchains/raspberry.ia32.cmake ..
make -j4
cd ..


11 changes: 11 additions & 0 deletions build_linux.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/bash

rm -rf bin
rm -rf lib
rm -rf linux
mkdir linux
cd linux
cmake -D__LINUX__=1 -DCMAKE_BUILD_TYPE=Release ..
make
cd ..

0 comments on commit df95bf3

Please sign in to comment.