tar xvf linux-3.18.2.tar.xz under $LFS/tmp
2. Into QEMU emulation user mode again and clean all setting under linux-3.18.2
cd /tmp/linux-3.18.2
make mrproper # Remove all setting [2]
3. Install header into dest and copy include file to /usr/include
make INSTALL_HDR_PATH=dest headers_install
find dest/include ( -name .install -o -name ..install.cmd ) -delete
cp -rv dest/include/* /usr/include
Reference:
1. 6.7. Linux-3.18.2 API Headers
2. understanding make mrproper
0 意見:
張貼留言