--build=${CLFS_HOST} \
--disable-profile \
--with-tls \
- --enable-kernel=$(get_pkg_ver3 ${KERNEL}) \
+ --enable-kernel=$(get_pkg_ver1 ${KERNEL}).0.0 \
--with-__thread \
- --with-binutils=/cross-tools/bin \
+ --with-binutils=${CROSS_TOOLS_DIR}/bin \
--enable-obsolete-rpc \
- --with-headers=/tools/include"
+ --with-headers=${TOOLS_DIR}/include"
}
# For Glibc to support NPTL:
hvconfig_cache()
{
-cat > ${LFS_TMP}/${PACKAGE}-build/config.cache << EOF
+cat > ${BUILD_DIR}/config.cache << EOF
libc_cv_forced_unwind=yes
libc_cv_c_cleanup=yes
libc_cv_gnu89_inline=yes
EOF
}
+hvbuild()
+{
+ ${HVMAKE}
+ ${HVMAKE} install_root=${LFS} install
+}
+
hvconfig_post()
{
unset BUILD_CC