Remove /tools and /cross-tools links on host system
[hvlinux.git] / stage0 / pkg / binutils
index 40c8270..2653b0d 100644 (file)
@@ -8,7 +8,8 @@ hvconfig_pre()
     # --with-lib-path:
     # Set to dummy (non-existent) directory to prevent having
     # host directories list.
-    CONFIGURE_OPTS+=" \
+    CONFIGURE_OPTS=" \
+        --prefix=/cross-tools \
         --host=${CLFS_HOST} \
         --target=${CLFS_TARGET} \
         --with-sysroot=${CLFS} \
@@ -30,6 +31,12 @@ hvconfig_pre()
     esac
 }
 
+hvbuild()
+{
+    ${HVMAKE}
+    ${HVMAKE} install DESTDIR=${CLFS}
+}
+
 hvconfig_post()
 {
     unset AR