Remove /tools and /cross-tools links on host system
[hvlinux.git] / stage0 / pkg / glibc
index d31ab21..acf6b5a 100644 (file)
@@ -20,9 +20,9 @@ hvconfig_pre()
         --with-tls \
         --enable-kernel=$(get_pkg_ver3 ${KERNEL}) \
         --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:
@@ -36,6 +36,12 @@ libc_cv_ssp=no
 EOF
 }
 
+hvbuild()
+{
+    ${HVMAKE}
+    ${HVMAKE} install install_root=${CLFS}
+}
+
 hvconfig_post()
 {
     unset BUILD_CC