blob: 0bcf7b4cdca84d9eb6b5c2d698ed1367c1450716 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
set -e
. utils
echo_stage "Get packages"
git_fetch "$GIT_REPO" pkgs turris3x
# TODO download only once a day
echo_strage "Download SDK"
curl "$SDK_URI" > sdk.tar.bz2
mv sdk.tar.bz2 "$WORKSPACE/sdk.tar.bz2"
echo_stage "Export SDK"
tar -xjf "$WORKSPACE/sdk.tar.bz2"
cd OpenWRT-SDK-*
echo_stage "Copy packages"
cp -r ../pkgs/* package/
echo_stage "Build"
make -j1 V=99
# TODO sign
# TODO copy to repository
|