-Déplacé fonction lpkg dans un fichier
[hvlinux.git] / stage1 / pkg / udev
index 3dc3776..d120b14 100644 (file)
@@ -1,20 +1,18 @@
 #!/bin/bash
 
-CC="${CC} ${CLFS_BUILDFLAGS}"
-
-CONFIGURE_OPTS="\
-    --prefix=/usr \
-    --build=${CLFS_HOST} \
-    --host=${CLFS_TARGET} \
-    --exec-prefix="" \
-    --sysconfdir=/etc \
-    --libexecdir=/lib/udev \
-    --libdir=/usr/lib \
-    --disable-extras \
-    --disable-introspection"
-
 hvconfig_pre()
 {
+    CONFIGURE_OPTS="\
+        --prefix=/usr \
+        --build=${CLFS_HOST} \
+        --host=${CLFS_TARGET} \
+        --exec-prefix="" \
+        --sysconfdir=/etc \
+        --libexecdir=/lib/udev \
+        --libdir=/usr/lib \
+        --disable-extras \
+        --disable-introspection"
+
     cd ${LFS_TMP}/${PACKAGE}
     install -dv ${LFS}/lib/{firmware,udev/devices/{pts,shm}}
 }