lfs-scripts/scripts/chapter5/5.4-linux-headers.sh
2023-01-08 15:30:54 +05:30

11 lines
176 B
Bash

#!/bin/bash
cd $LFS/sources
tar xf linux-5.19.2.tar.xz
cd linux-5.19.2
make mrproper
make headers
find usr/include -type f ! -name '*.h' -delete
cp -rv usr/include $LFS/usr