X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fpkg%2Fe2fsprogs;h=df037254a870b5694b905983ec861411fa29088e;hb=2f26e347a05e245d6f57cb6603a7a51a4418b80d;hp=159f339854328f0d3742b96d0b5b845eee21438b;hpb=69ac3e7cf686f8e95e47a7ab89bc38796aace488;p=hvlinux.git diff --git a/stage1/pkg/e2fsprogs b/stage1/pkg/e2fsprogs index 159f339..df03725 100644 --- a/stage1/pkg/e2fsprogs +++ b/stage1/pkg/e2fsprogs @@ -1,11 +1,10 @@ #!/bin/bash -hvconfigure() +hvconfig_pre() { - cd ${LFS_TMP}/${PACKAGE}-build + export PKG_CONFIG=true - CC="${CC} ${CLFS_BUILDFLAGS}" PKG_CONFIG=true \ - ../${PACKAGE}/configure \ + CONFIGURE_OPTS="\ --prefix=/tools \ --enable-elf-shlibs \ --with-linker=${LD} \ @@ -13,7 +12,12 @@ hvconfigure() --disable-libblkid \ --disable-libuuid \ --disable-fsck \ - --disable-uuidd + --disable-uuidd" +} + +hvconfig_post() +{ + unset PKG_CONFIG } hvbuild() @@ -24,7 +28,10 @@ hvbuild() # Install the static libraries and headers: ${HVMAKE} install-libs +} +hvbuild_post() +{ # Create needed symlinks for a bootable system: LINKS="fsck.ext2 fsck.ext3 fsck.ext4 e2fsck"