mirror of
https://github.com/krglaws/MyLFS.git
synced 2025-08-13 14:38:10 +00:00
27 lines
435 B
Bash
27 lines
435 B
Bash
# LINUX Phase 4
|
|
|
|
CONFIGFILE=config-$KERNELVERS
|
|
|
|
make mrproper
|
|
|
|
if [ -f /boot/$CONFIGFILE ]
|
|
then
|
|
cp /boot/$CONFIGFILE ./.config
|
|
else
|
|
make defconfig
|
|
fi
|
|
|
|
make
|
|
|
|
make modules_install
|
|
|
|
cp ./.config /boot/$CONFIGFILE
|
|
|
|
cp arch/x86_64/boot/bzImage /boot/vmlinuz-$KERNELVERS-lfs-$LFS_VERSION
|
|
|
|
cp System.map /boot/System.map-$KERNELVERS
|
|
|
|
install -d /usr/share/doc/linux-$KERNELVERS
|
|
cp -r Documentation/* /usr/share/doc/linux-$KERNELVERS
|
|
|