X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fpkg%2Fe2fsprogs;h=0f407a2c2431375f40608f6b424a2fff29a26ed5;hb=fc7d8c678ca78bef7c6e7eaeeb579269b7c501be;hp=0d9f4016b0cdb102703f8b6904dbf42e498a1daf;hpb=3605ab38ca7604b1fe43c3bce5e4963730a85d39;p=hvlinux.git diff --git a/stage1/pkg/e2fsprogs b/stage1/pkg/e2fsprogs index 0d9f401..0f407a2 100644 --- a/stage1/pkg/e2fsprogs +++ b/stage1/pkg/e2fsprogs @@ -1,35 +1,36 @@ #!/bin/bash -hvconfig() +hvconfig_pre() { - cd ${LFS_TMP}/${PACKAGE}-build + export PKG_CONFIG=true - CC="${CC} ${CLFS_BUILDFLAGS}" PKG_CONFIG=true \ - ../${PACKAGE}/configure \ - --prefix=/tools \ + CONFIGURE_OPTS+=" \ --enable-elf-shlibs \ - --with-linker=${LD} \ - --host=${CLFS_TARGET} \ --disable-libblkid \ --disable-libuuid \ --disable-fsck \ - --disable-uuidd + --disable-uuidd" +} + +hvconfig_post() +{ + unset PKG_CONFIG } hvbuild() { ${HVMAKE} LIBUUID="-luuid" STATIC_LIBUUID="-luuid" \ LIBBLKID="-lblkid" STATIC_LIBBLKID="-lblkid" - ${HVMAKE} install + ${HVMAKE} DESTDIR=${LFS} install # Install the static libraries and headers: - ${HVMAKE} install-libs + ${HVMAKE} DESTDIR=${LFS} install-libs } hvbuild_post() { # Create needed symlinks for a bootable system: - LINKS="fsck.ext2 fsck.ext3 fsck.ext4 e2fsck" + LINKS="fsck.ext2 fsck.ext3 fsck.ext4 fsck.ext4dev e2fsck" for link in ${LINKS}; do ln -svfT /tools/sbin/${link} ${LFS}/sbin/${link}