a radical and experimental distribution based on musl libc and busybox http://sabo.xyz
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
567 B

cd $R/src
[ -f linux-2.6.38.2.tar.bz2 ] || wget -c http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.38.2.tar.bz2
tar xf linux-2.6.38.2.tar.bz2
ln -sf linux-2.6.38.2 linux
cd linux
cp $K/kernel.config .config
# FIXME: xz compression doesn't work with busybox.
make HOSTCFLAGS=-D_GNU_SOURCE oldconfig
make HOSTCFLAGS=-D_GNU_SOURCE
mkdir -p $R/boot $R/lib/modules $R/lib/firmware
cp System.map $R/boot
cp arch/x86/boot/bzImage $R/boot/vmlinuz
make INSTALL_MOD_PATH=$R modules_install
make HOSTCFLAGS=-D_GNU_SOURCE headers_install
cp -r usr/include/* $R/include/