-Cleaned-up name of ipkg functions in package definition files.
[hvlinux.git] / stage0 / install-1
index d8e60eb..786c754 100755 (executable)
@@ -55,35 +55,9 @@ ipkg_ac   ${CLOOG_PPL} "\
 
 LDFLAGS=""
 
-AR=ar AS=as \
-    ipkg_ac ${BINUTILS} "\
-        --host=${CLFS_HOST} \
-        --target=${CLFS_TARGET} \
-        --with-sysroot=${CLFS} \
-        --with-lib-path=/tools/lib \
-        --disable-nls \
-        --enable-shared \
-        --disable-multilib"
-
-GCC_PASS1="1" AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
-    ipkg ${GCC} cis-ac "${GCC}-pass1"
-
-BUILD_CC="gcc" \
-    CC="${CLFS_TARGET}-gcc ${CLFS_BUILDFLAGS}" \
-    AR="${CLFS_TARGET}-ar" \
-    RANLIB="${CLFS_TARGET}-ranlib" \
-    ipkg_ac   ${EGLIBC} "\
-        --host=${CLFS_TARGET} \
-        --build=${CLFS_HOST} \
-        --disable-profile \
-        --enable-add-ons \
-        --with-tls \
-        --enable-kernel=$(get_pkg_ver ${KERNEL}) \
-        --with-__thread \
-        --with-binutils=/cross-tools/bin \
-        --with-headers=/tools/include"
-
-GCC_PASS2="1" AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
-    ipkg ${GCC} cis-ac "${GCC}-pass2"
+ipkg_ac ${BINUTILS}
+GCC_PASS1="1" ipkg ${GCC} cis-ac "${GCC}-pass1"
+ipkg_ac ${EGLIBC}
+GCC_PASS2="1" ipkg ${GCC} cis-ac "${GCC}-pass2"
 
 exit $?