12 lines
256 B
Bash
12 lines
256 B
Bash
|
|
fetch $LINUX_URL
|
|
|
|
cd "$SOURCES" && tar xf linux-$LINUX_VERSION.tar.xz && cd linux-$LINUX_VERSION
|
|
|
|
make mrproper && make headers
|
|
|
|
find usr/include -type f ! -name '*.h' -delete
|
|
|
|
cp -r usr/include "$SYSROOT"/usr
|
|
|
|
cd "$SOURCES" && rm -rf linux-$LINUX_VERSION |