diff options
author | onefang | 2020-03-16 15:03:37 +1000 |
---|---|---|
committer | onefang | 2020-03-16 15:03:37 +1000 |
commit | ca861b5118a1e6b09a594cd5ec9c589ff1954e39 (patch) | |
tree | a72d853826037bcdcf8a79aa197e6e358ef88f27 /src | |
parent | Merge remote-tracking branch 'boxes/master' (diff) | |
download | opensim-SC-ca861b5118a1e6b09a594cd5ec9c589ff1954e39.zip opensim-SC-ca861b5118a1e6b09a594cd5ec9c589ff1954e39.tar.gz opensim-SC-ca861b5118a1e6b09a594cd5ec9c589ff1954e39.tar.bz2 opensim-SC-ca861b5118a1e6b09a594cd5ec9c589ff1954e39.tar.xz |
Fix up boxes build system.
Diffstat (limited to '')
-rwxr-xr-x | src/BuildIt.sh | 33 | ||||
-rw-r--r-- | src/miniconfig (renamed from miniconfig) | 0 |
2 files changed, 33 insertions, 0 deletions
diff --git a/src/BuildIt.sh b/src/BuildIt.sh new file mode 100755 index 0000000..d199e95 --- /dev/null +++ b/src/BuildIt.sh | |||
@@ -0,0 +1,33 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | # Poor mans git sub modules / subtrees, coz otherwise it gets complex. | ||
4 | if [ ! -d git-sub-modules/toybox ]; then | ||
5 | pushd git-sub-modules | ||
6 | git clone https://github.com/landley/toybox.git | ||
7 | popd | ||
8 | else | ||
9 | pushd git-sub-modules/toybox | ||
10 | git pull | ||
11 | popd | ||
12 | fi | ||
13 | |||
14 | pushd git-sub-modules/toybox | ||
15 | #git stash save | ||
16 | #git pull | ||
17 | #git stash pop | ||
18 | popd | ||
19 | |||
20 | mkdir -p build | ||
21 | rm -fr build/toybox | ||
22 | cp -r git-sub-modules/toybox build/ | ||
23 | ln -fs ../../../boxes build/toybox/toys/boxes | ||
24 | ln -fs ../toys/boxes/handlekeys.c build/toybox/lib | ||
25 | ln -fs ../toys/boxes/handlekeys.h build/toybox/lib | ||
26 | |||
27 | pushd build/toybox >/dev/null | ||
28 | make clean | ||
29 | #make defconfig | ||
30 | ##make menuconfig | ||
31 | make allnoconfig KCONFIG_ALLCONFIG=../../miniconfig || exit 1 | ||
32 | make || exit 1 | ||
33 | popd >/dev/null | ||
diff --git a/miniconfig b/src/miniconfig index a8b01c4..a8b01c4 100644 --- a/miniconfig +++ b/src/miniconfig | |||