dino-linux/path/make-linux

27 lines
1.0 KiB
Bash
Executable File

#!/usr/bin/env bash
set -e
cd "$BD"
git clone --depth=1 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
cd linux
make tinyconfig
make menuconfig
# Processor type and features > Processor family > 486
# Enable loadable module support
# Enable the block layer
# Networking support
# General Setup > Initial RAM filesystem and RAM disk (initramfs/initrd)
# General Setup > Configure standard kernel features (expert users) > Enable support for printk
# Executable file formats > Kernel support for ELF binaries
# Executable file formats > Kernel support for scripts starting with #! (not <M>, <*>)
# Device Drivers > Character devices > Enable TTY
# Device Drivers > PCI Support
# Device Drivers > Serial ATA and Parallel ATA drivers
# Device Drivers > Serial ATA and Parallel ATA drivers > Generic ATA support
# File systems > Pseudo filesystems > /proc and sysfs
# File systems > DOS/FAT/EXFAT/NT Filesystems > VFAT (Windows-95 fs support)
# CONFIG_ATA_GENERIC
make bzImage -j6
mv arch/x86/boot/bzImage .