Changeset a2bcc79 in clfs-sysroot for BOOK/final-system/common
- Timestamp:
- Jan 4, 2009, 2:24:30 PM (16 years ago)
- Branches:
- master
- Children:
- 7ffadc5
- Parents:
- 0e17eae
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/kbd.xml
r0e17eae ra2bcc79 26 26 <title>Installation of Kbd</title> 27 27 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@&& ./conftest@@" configure.orig > 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 > 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" > config.cache 32 echo "ac_cv_func_malloc_0_nonnull=yes" >> config.cache 33 echo "ac_cv_func_realloc_0_nonnull=yes" >> config.cache</userinput></screen> 39 34 40 35 <para os="a">Prepare Kbd for compilation:</para> 41 36 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> 43 40 44 41 <variablelist os="c"> … … 56 53 </variablelist> 57 54 58 <para os="s5">Configure detects the architecture of the host system. The59 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 > make_include</userinput></screen>63 64 55 <para os="d">Compile the package:</para> 65 56 66 <screen os="e"><userinput>make CC="${CC}"</userinput></screen>57 <screen os="e"><userinput>make</userinput></screen> 67 58 68 59 <para os="f">Install the package:</para> … … 75 66 stages of booting, those binaries need to be on the root partition:</para> 76 67 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> 78 69 79 70 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.