commit f76a325
chld
·
2026-09-24 01:49:22 +0000 UTC
parent 0b0d293
less verbosity
3 files changed,
+4,
-5
+3,
-2
1@@ -19,6 +19,7 @@ export CC=`pwd`/cc.sh
2 export HOSTCC=$CC
3 make defconfig
4
5+sed -i 's/ Toybox/ Serious Loonix/g' toys/posix/uname.c
6 sed -i 's/-o/-static -Oz -Oz -Wl,-s -Wl,--as-needed -Wl,-Os -o/g' scripts/install.sh
7 sed -i 's/cc/cc -static -Oz -Oz -Wl,-s -Wl,--as-needed -Wl,-Os/g' kconfig/Makefile
8 sed -i 's#scripts/install.sh#scripts/install.sh --static#g' Makefile
9@@ -32,12 +33,12 @@ cp -f ./toybox $m/bin/toybox
10 cd $pwd
11 rm -f busybox-1.36.1.tar.bz2
12 wget 'https://busybox.net/downloads/busybox-1.36.1.tar.bz2'
13-tar -xvf busybox-1.36.1.tar.bz2 -C build/
14+tar -xf busybox-1.36.1.tar.bz2 -C build/
15 cd build/busybox*/
16 cp $pwd/util/busybox.config .config
17
18 sed -i 's/gcc/cc -static -static -Oz -Wl,-s -Wl,--as-needed -Wl,-Os/g' Makefile
19 sed -i 's#GNU/Linux#Serious/Linux#g' `find . -name .config -type f`
20 # make olddefconfig
21-gmake PREFIX="$PREFIX" CFLAGS='-static -Oz -Wl,-s -Wl,--as-needed -Wl,-Os' DESTDIR="$PKG" LDFLAGS='-static -static -Oz -Wl,-s -Wl,--as-needed -Wl,-Os' V=1
22+gmake PREFIX="$PREFIX" CFLAGS='-static -Oz -Wl,-s -Wl,--as-needed -Wl,-Os' DESTDIR="$PKG" LDFLAGS='-static -static -Oz -Wl,-s -Wl,--as-needed -Wl,-Os' V=0
23 cp -f ./busybox $m/usr/sbin/busybox.static
+0,
-2
1@@ -16,6 +16,4 @@ sh ./build-userland
2 sh ./util/kiss-mount $m .
3 set +x # just for readability
4
5-find $m
6 echo && echo "mwakat linux is ready."
7-cat rootfs/mwktlnx
+1,
-1
1@@ -10,7 +10,7 @@ wget \
2 https://codeberg.org/kiss-community/repo/releases/download/24.12.18/kiss-chroot-24.12.18.tar.xz \
3 -O kiss.tar.xz
4
5-tar -xvf kiss.tar.xz -C $m
6+tar -xf kiss.tar.xz -C $m
7
8 # set up situation init
9 git clone https://srcdump.net/chld/srudge.git --depth 1 ./srudge