19 lines
649 B
Bash
Executable File
19 lines
649 B
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
|
|
# General Setup > Initial RAM filesystem and RAM disk (initramfs/initrd)
|
|
# General Setup > Configure standard kernel features (expert users) > Enable support for printk
|
|
# Processor type and features > Processor family > 486
|
|
# Device Drivers > Character devices > Enable TTY
|
|
# Executable file formats > Kernel support for ELF binaries
|
|
# Executable file formats > Kernel support for scripts starting with #!
|
|
# CONFIG_ATA_GENERIC
|
|
|
|
make bzImage
|
|
mv arch/x86/boot/bzImage .
|