Harmonise les bootscripts (daemon)
[hvlinux.git] / stage1 / pkg / udev
index 0d46963..d120b14 100644 (file)
@@ -1,17 +1,8 @@
 #!/bin/bash
 
-configure_pre()
+hvconfig_pre()
 {
-    cd ${LFS_TMP}/${PACKAGE}
-
-    install -dv ${LFS}/lib/{firmware,udev/devices/{pts,shm}}
-}
-
-hvconfigure()
-{
-    cd ${LFS_TMP}/${PACKAGE}-build
-
-    CC="${CC} ${CLFS_BUILDFLAGS}" ../${PACKAGE}/configure \
+    CONFIGURE_OPTS="\
         --prefix=/usr \
         --build=${CLFS_HOST} \
         --host=${CLFS_TARGET} \
@@ -20,7 +11,10 @@ hvconfigure()
         --libexecdir=/lib/udev \
         --libdir=/usr/lib \
         --disable-extras \
-        --disable-introspection
+        --disable-introspection"
+
+    cd ${LFS_TMP}/${PACKAGE}
+    install -dv ${LFS}/lib/{firmware,udev/devices/{pts,shm}}
 }
 
 hvbuild()