summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-11-07 14:35:57 -0600
committerAlexander M Pickering <alex@cogarr.net>2024-11-07 14:35:57 -0600
commitfda0531cd8a75f9983b709ac828a491c61747f7e (patch)
tree49cecab363b2c0af8eb6487d21234ea07b2dfdfa /init
parent7a30abb846cd2ca6e9043c8f6b0ef8b9bd85fc1b (diff)
downloadbusybox-w32-packaging-fda0531cd8a75f9983b709ac828a491c61747f7e.tar.gz
busybox-w32-packaging-fda0531cd8a75f9983b709ac828a491c61747f7e.tar.bz2
busybox-w32-packaging-fda0531cd8a75f9983b709ac828a491c61747f7e.zip
more work
Diffstat (limited to 'init')
-rwxr-xr-xinit9
1 files changed, 9 insertions, 0 deletions
diff --git a/init b/init
index 0269966..9770a2b 100755
--- a/init
+++ b/init
@@ -4,8 +4,17 @@ rc-service networking start
4apk update 4apk update
5apk add build-base xz mingw-w64-gcc 5apk add build-base xz mingw-w64-gcc
6 6
7tar -xvzf include.tar.gz
8mv include/openssl /usr/x86_64-w64-mignw32/include
9mv include/tls.h /usr/x86_64-w64-mignw32/include
10mv libtls.a /usr/x86_64-w64-mingw32/lib
11mv libssl.a /usr/x86_64-w64-mingw32/lib
12mv libcrypto.a /usr/x86_64-w64-mingw32/lib
13
7cd busybox-w32 14cd busybox-w32
8cp /root/busybox-w32-packaging/config .config 15cp /root/busybox-w32-packaging/config .config
16git apply /root/busybox-w32-packaging/test.patch
9sed -i "s/CONFIG_EXTRA_CFLAGS=\"\"/CONFIG_EXTRA_CFLAGS=\"$CFLAGS\"/g" .config 17sed -i "s/CONFIG_EXTRA_CFLAGS=\"\"/CONFIG_EXTRA_CFLAGS=\"$CFLAGS\"/g" .config
18sed -i "s/CONFIG_EXTRA_LDLIBS=\"\"/CONFIG_EXTRA_LDLIBS=\"-ltls -lssl -lcrypto\"/g" .config
10make 19make
11cp busybox.exe .. 20cp busybox.exe ..