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

Commit df95bf3

Browse files
committed
added
1 parent ae740df commit df95bf3

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

build_cross_raspbian.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/bash
2+
export PI_TOOLS_HOME=~/xtools/tools
3+
rm -rf bin
4+
rm -rf lib
5+
rm -rf build
6+
rm -f CMakeCache.txt
7+
rm -f ./lib/armeabi-v7a/*
8+
9+
mkdir build
10+
cd build
11+
cmake -D__RASPBIAN__=1 -D__LINUX__=1 -DCMAKE_TOOLCHAIN_FILE=../build-scripts/toolchains/raspberry.ia32.cmake ..
12+
make -j4
13+
cd ..
14+
15+

build_linux.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/bash
2+
3+
rm -rf bin
4+
rm -rf lib
5+
rm -rf linux
6+
mkdir linux
7+
cd linux
8+
cmake -D__LINUX__=1 -DCMAKE_BUILD_TYPE=Release ..
9+
make
10+
cd ..
11+

0 commit comments

Comments
 (0)