init_log_file
if [ x"${INSTALL_GLIBC}" == x"1" ]; then
- ipkg -m noac ${KERNEL}
+ ipkg -m noac -l "kernel-headers" -s "kernel-headers" ${KERNEL}
fi
ipkg ${GMP} "\
--- /dev/null
+#!/bin/bash
+
+hvbuild()
+{
+ # Install headers
+ cd ${LFS_TMP}/${PACKAGE}
+
+ local DESTDIR=${TOOLS_DIR}/include
+ install -dv ${DESTDIR}
+
+ ${HVMAKE} mrproper
+ ${HVMAKE} ARCH=${CLFS_ARCH} INSTALL_HDR_PATH=dest headers_install
+ cp -rv dest/include/* ${DESTDIR}
+ find ${DESTDIR} -name .install -or -name ..install.cmd | xargs rm -fv
+}
+++ /dev/null
-#!/bin/bash
-
-hvbuild()
-{
- cd ${LFS_TMP}/${PACKAGE}
-
- ${HVMAKE} mrproper
- ${HVMAKE} ARCH=${CLFS_ARCH} INSTALL_HDR_PATH=dest headers_install
- install -dv ${TOOLS_DIR}/include
- cp -rv dest/include/* ${TOOLS_DIR}/include
-}
# Install headers
cd ${LFS_TMP}/${PACKAGE}
- make mrproper
- make INSTALL_HDR_PATH=dest headers_install
- cp -rv dest/include/* /usr/include
- find /usr/include -name .install -or -name ..install.cmd | xargs rm -fv
+ local DESTDIR=/usr/include
+
+ ${HVMAKE} mrproper
+ ${HVMAKE} INSTALL_HDR_PATH=dest headers_install
+ cp -rv dest/include/* ${DESTDIR}
+ find ${DESTDIR} -name .install -or -name ..install.cmd | xargs rm -fv
}