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


Ignore:
Timestamp:
Jan 4, 2009, 2:24:30 PM (16 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
7ffadc5
Parents:
0e17eae
Message:

Upgrade to new commands for the new kbd packages.

File:
1 moved

Legend:

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

    r0e17eae ra2bcc79  
    2626    <title>Installation of Kbd</title>
    2727
    28     <para os="s1">The following sed disables running the built conftests while
    29     running configure:</para>
    30 
    31 <screen os="s2"><userinput>cp configure{,.orig}
    32 sed -e "s@&amp;&amp; ./conftest@@" configure.orig &gt; configure</userinput></screen>
    33 
    34     <para os="s3">The following sed removes -s from the install command which
    35     will try to strip the installed files:</para>
    36 
    37 <screen os="s4"><userinput>cp src/Makefile.in{,.orig}
    38 sed -e "s/install -s/install/" src/Makefile.in.orig &gt; src/Makefile.in</userinput></screen>
     28    <para os="cc1">When Cross Compiling the configure script does not
     29    run a select few tests, Set the values manually:</para>
     30
     31<screen os="cc1"><userinput>echo "ac_cv_func_setpgrp_void=yes" &gt; config.cache
     32echo "ac_cv_func_malloc_0_nonnull=yes" &gt;&gt; config.cache
     33echo "ac_cv_func_realloc_0_nonnull=yes" &gt;&gt; config.cache</userinput></screen>
    3934
    4035    <para os="a">Prepare Kbd for compilation:</para>
    4136
    42 <screen os="b"><userinput>./configure --datadir=/lib/kbd</userinput></screen>
     37<screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
     38    --prefix=/usr --datadir=/lib/kbd \
     39    --cache-file=config.cache</userinput></screen>
    4340
    4441    <variablelist os="c">
     
    5653    </variablelist>
    5754
    58     <para os="s5">Configure detects the architecture of the host system. The
    59     following sed changes this value to your target architecture.</para>
    60 
    61 <screen os="s6"><userinput>cp make_include{,.orig}
    62 sed "/^ARCH/s/=.*/=arm/" make_include.orig &gt; make_include</userinput></screen>
    63 
    6455    <para os="d">Compile the package:</para>
    6556
    66 <screen os="e"><userinput>make CC="${CC}"</userinput></screen>
     57<screen os="e"><userinput>make</userinput></screen>
    6758
    6859    <para os="f">Install the package:</para>
     
    7566    stages of booting, those binaries need to be on the root partition:</para>
    7667
    77 <screen os="i"><userinput>mv -v ${CLFS}/usr/bin/{kbd_mode,openvt,setfont} ${CLFS}/bin</userinput></screen>
     68<screen os="i"><userinput>mv -v ${CLFS}/usr/bin/{kbd_mode,loadkeys,openvt,setfont} ${CLFS}/bin</userinput></screen>
    7869
    7970  </sect2>
Note: See TracChangeset for help on using the changeset viewer.