Changeset a7864ee in clfs-sysroot for BOOK/final-system/common


Ignore:
Timestamp:
Jan 4, 2009, 3:37:29 PM (16 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
021d0cc
Parents:
38f2dda
Message:

Update Udev commands for new autoconf package, ported from trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/udev.xml

    r38f2dda ra7864ee  
    2626    <title>Installation of Udev</title>
    2727
    28     <para os="a">Compile the package:</para>
    29 
    30 <screen os="b"><userinput>make CROSS_COMPILE="${CLFS_TARGET}-" CC="${CC}" LD="${CC}" \
    31     EXTRAS="extras/ata_id extras/cdrom_id extras/collect \
    32     extras/edd_id extras/firmware extras/floppy extras/path_id extras/rule_generator \
    33     extras/scsi_id extras/usb_id extras/volume_id" udevdir=/dev</userinput></screen>
    34 
    35     <variablelist os="c">
    36       <title>The meaning of the make parameter:</title>
    37 
    38       <varlistentry>
    39       <term><parameter>EXTRAS="extras/ata_id extras/cdrom_id extras/collect
    40       extras/edd_id extras/firmware extras/floppy extras/path_id extras/rule_generator
    41       extras/scsi_id extras/usb_id extras/volume_id"</parameter></term>
    42         <listitem>
    43           <para>This builds the helper applications that are used with
    44           udev. The helper programs assist in correct handling of devices.</para>
    45         </listitem>
    46       </varlistentry>
    47 
    48     </variablelist>
    49 
    50     <para os="c">Install the package:</para>
    51 
    52 <screen os="d"><userinput>make DESTDIR="${CLFS}" \
    53     EXTRAS="extras/ata_id extras/cdrom_id extras/collect \
    54     extras/edd_id extras/firmware extras/floppy extras/path_id extras/rule_generator \
    55     extras/scsi_id extras/usb_id extras/volume_id" udevdir=/dev install</userinput></screen>
    56 
    57     <para os="g">Install the documentation:</para>
     28    <para os="a">Prepare Udev for compilation:</para>
     29
     30<screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
     31    --prefix=/usr --exec-prefix= \
     32    --sysconfdir=/etc</userinput></screen>
     33
     34    <para os="c">Compile the package:</para>
     35
     36<screen os="d"><userinput>make</userinput></screen>
     37
     38    <para os="e">Install the package:</para>
     39
     40<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
     41
     42    <para os="g">Install documentation:</para>
    5843
    5944<screen os="h"><userinput>install -v -m644 -D docs/writing_udev_rules/index.html \
    6045    ${CLFS}/usr/share/doc/udev-&udev-version;/index.html</userinput></screen>
    6146
    62     <para os="i">Create a directory for storing firmware that can be
    63     loaded by <command>udev</command>:</para>
     47    <para os="i">Create a directory for storing firmware that can be loaded by
     48    <command>udev</command>:</para>
    6449
    6550<screen os="j"><userinput>install -dv ${CLFS}/lib/firmware</userinput></screen>
     51
    6652
    6753  </sect2>
Note: See TracChangeset for help on using the changeset viewer.