#!/bin/bash
-hvconfig_pre()
+# The following cache entries set the values for tests that do not run while
+# cross-compiling:
+hvconfig_cache()
{
- CONFIGURE_OPTS="\
- --build=${CLFS_HOST} \
- --host=${CLFS_TARGET} \
- --enable-login-utils \
- --disable-makeinstall-chown"
-}
-
-hvbuild()
-{
- ${HVMAKE}
- ${HVMAKE} DESTDIR=${LFS} install
-}
-
-hvbuild_post()
-{
- # Copy Libraries and includes to /tools:
- rm -fv ${LFS}/usr/lib/lib{blkid,uuid}.la
- cp -v ${LFS}/usr/lib/lib{blkid,uuid}* /tools/lib
- cp -v ${LFS}/lib/lib{blkid,uuid}* /tools/lib
- ln -sfvT libblkid.so.1.1.0 /tools/lib/libblkid.so
- ln -sfvT libuuid.so.1.3.0 /tools/lib/libuuid.so
- install -dv /tools/include/{blkid,uuid}
- cp -av ${LFS}/usr/include/blkid/* /tools/include/blkid/
- cp -av ${LFS}/usr/include/uuid/* /tools/include/uuid/
+cat > ${LFS_TMP}/${PACKAGE}-build/config.cache << EOF
+scanf_cv_type_modifier=as
+EOF
}