Add Linux kernel build instructions
[qi-bootmenu-system.git] / sources / sections / linux-headers.sh
blobeb30f1caf8c898e26b15222d8cc524baa28b221d
1 # Install Linux kernel headers.
3 setupfor linux
4 # Install Linux kernel headers (for use by uClibc).
5 make headers_install -j "$CPUS" ARCH="${KARCH}" INSTALL_HDR_PATH="$STAGING_DIR/usr" &&
6 # This makes some very old package builds happy.
7 ln -s ../sys/user.h "$STAGING_DIR/usr/include/asm/page.h" &&
8 cd ..
10 cleanup linux