Completed transition to new ipkg method (ipkg.def), successfully booting after stage 1
[hvlinux.git] / stage1 / pkg / e2fsprogs
index 49f5977..df03725 100644 (file)
@@ -1,17 +1,24 @@
 #!/bin/bash
 
-CC="${CC} ${CLFS_BUILDFLAGS}"
-PKG_CONFIG=true
+hvconfig_pre()
+{
+    export PKG_CONFIG=true
+
+    CONFIGURE_OPTS="\
+        --prefix=/tools \
+        --enable-elf-shlibs \
+        --with-linker=${LD} \
+        --host=${CLFS_TARGET} \
+        --disable-libblkid \
+        --disable-libuuid \
+        --disable-fsck \
+        --disable-uuidd"
+}
 
-CONFIGURE_OPTS="\
-    --prefix=/tools \
-    --enable-elf-shlibs \
-    --with-linker=${LD} \
-    --host=${CLFS_TARGET} \
-    --disable-libblkid \
-    --disable-libuuid \
-    --disable-fsck \
-    --disable-uuidd"
+hvconfig_post()
+{
+    unset PKG_CONFIG
+}
 
 hvbuild()
 {