X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fpkg%2Futil-linux;fp=stage1%2Fpkg%2Futil-linux;h=1ff721f3a54d73ff72ec1abcfa9ad6e1d1b6a3f0;hb=de775393f1c6a517d54a9991be2d02c268592c0d;hp=079a34355b4cef9b1056fefa9ef93d22afe1836e;hpb=0fbeb62f20d44b9452cd286fe5bacb7e329fc2f6;p=hvlinux.git diff --git a/stage1/pkg/util-linux b/stage1/pkg/util-linux index 079a343..1ff721f 100644 --- a/stage1/pkg/util-linux +++ b/stage1/pkg/util-linux @@ -1,29 +1,10 @@ #!/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 }