-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathprebuild.sh
More file actions
executable file
·31 lines (23 loc) · 891 Bytes
/
prebuild.sh
File metadata and controls
executable file
·31 lines (23 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
[ -z "${THREADS}" ] && echo "Warning: THREADS environment variable wasn't set. Running with only one thread." && THREADS=1
export PATH="${PATH}:/home/build/inkbox/compiled-binaries/arm-kobo-linux-gnueabihf/bin/"
rm -rf build
mkdir build
pushd build/
git clone https://github.com/Kobo-InkBox/inkbox.git build_inkbox
git clone https://github.com/Kobo-InkBox/lockscreen.git build_lockscreen
git clone https://github.com/Kobo-InkBox/oobe-inkbox.git build_oobe-inkbox
pushd build_inkbox/
git submodule update --init --recursive
/home/build/inkbox/compiled-binaries/qt-bin/qt-linux-5.15.2-kobo/bin/qmake
make -j${THREADS}
popd
pushd build_lockscreen/
/home/build/inkbox/compiled-binaries/qt-bin/qt-linux-5.15.2-kobo/bin/qmake
make -j${THREADS}
popd
pushd build_oobe-inkbox/
/home/build/inkbox/compiled-binaries/qt-bin/qt-linux-5.15.2-kobo/bin/qmake
make -j${THREADS}
popd
popd