Changeset 37e35d2 for chapter08/kmod.xml
- Timestamp:
- 06/29/2020 07:55:01 AM (4 years ago)
- Branches:
- multilib-10.1
- Children:
- c4804e8
- Parents:
- d4fdde6
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
chapter08/kmod.xml
rd4fdde6 r37e35d2 32 32 33 33 <seglistitem> 34 <seg>&kmod- ch6-sbu;</seg>35 <seg>&kmod- ch6-du;</seg>34 <seg>&kmod-fin-sbu;</seg> 35 <seg>&kmod-fin-du;</seg> 36 36 </seglistitem> 37 37 </segmentedlist> … … 79 79 several tests will not run outside of a git repository. </para> 80 80 81 <!-- 82 <para>To test the results, issue:</para> 83 84 <screen><userinput remap="test">make check</userinput></screen> 85 --> 86 <para>Install the package, and create symlinks for 81 <para>Install the package and create symlinks for 87 82 compatibility with Module-Init-Tools (the package that previously handled 88 83 Linux kernel modules):</para> … … 98 93 </sect2> 99 94 100 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI 32 ~~~~~~~~~~~~~~~~~~~~ --> 95 <!-- - - - - - - - - - --> 96 <!-- Multilib - 32bit --> 97 <!-- - - - - - - - - - --> 101 98 102 99 <sect2 arch="ml_32,ml_all" role="installation"> 103 <title>Installation of Kmod - 32 -bit</title>104 105 <para>Clean previous build but keep man pages as they cannot be recreated106 since xsltproc isn't installed yet:</para>107 108 <screen><userinput >sed -e "s/^CLEANFILES =.*/CLEANFILES =/" -i man/Makefile100 <title>Installation of Kmod - 32bit</title> 101 102 <para>Clean previous build but keep man pages as they cannot 103 be recreated since xsltproc isn't installed yet:</para> 104 105 <screen><userinput remap="pre">sed -e "s/^CLEANFILES =.*/CLEANFILES =/" -i man/Makefile 109 106 make clean</userinput></screen> 110 107 111 108 <para>Prepare Kmod for compilation:</para> 112 109 113 <screen><userinput remap="configure">CC="gcc -m32" ./configure \ 114 --prefix=/usr \ 115 --bindir=/bin \ 116 --libdir=/usr/lib32 \ 117 --sysconfdir=/etc \ 118 --with-xz --with-zlib \ 119 --host=i686-pc-linux-gnu \ 120 --with-rootlibdir=/usr/lib32</userinput></screen> 110 <screen><userinput remap="configure">CC="gcc -m32" ./configure \ 111 --prefix=/usr \ 112 --bindir=/bin \ 113 --libdir=&usr-lib-m32; \ 114 --sysconfdir=/etc \ 115 --with-xz \ 116 --with-zlib \ 117 --host=i686-pc-linux-gnu \ 118 --with-rootlibdir=&usr-lib-m32;</userinput></screen> 121 119 122 120 <para>Compile the package:</para> … … 127 125 128 126 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install 129 cp -Rv DESTDIR /usr/lib32/* /usr/lib32127 cp -Rv DESTDIR&usr-lib-m32;/* &usr-lib-m32; 130 128 rm -rf DESTDIR</userinput></screen> 131 129 132 </sect2> 133 134 <!-- ~~~~~~~~~~~~~~~~~~~~ ABI x32 ~~~~~~~~~~~~~~~~~~~~ --> 130 </sect2><!-- m32 --> 131 132 <!-- - - - - - - - - - --> 133 <!-- Multilib - x32bit --> 134 <!-- - - - - - - - - - --> 135 135 136 136 <sect2 arch="ml_x32,ml_all" role="installation"> 137 <title>Installation of Kmod - x32-bit</title> 138 139 <para>Clean previous build:</para> 140 141 <screen><userinput>sed -e "s/^CLEANFILES =.*/CLEANFILES =/" -i man/Makefile 137 <title>Installation of Kmod - x32bit</title> 138 139 <para>Clean previous build but keep man pages as they cannot 140 be recreated since xsltproc isn't installed yet:</para> 141 142 <screen><userinput remap="pre">sed -e "s/^CLEANFILES =.*/CLEANFILES =/" -i man/Makefile 142 143 make clean</userinput></screen> 143 144 144 145 <para>Prepare Kmod for compilation:</para> 145 146 146 <screen><userinput remap="configure">CC="gcc -mx32" ./configure 147 <screen><userinput remap="configure">CC="gcc -mx32" ./configure \ 147 148 --prefix=/usr \ 148 149 --bindir=/bin \ 149 --libdir= /usr/libx32\150 --libdir=&usr-lib-mx32; \ 150 151 --sysconfdir=/etc \ 151 152 --with-xz \ 152 153 --with-zlib \ 153 154 --host=x86_64-pc-linux-gnux32 \ 154 --with-rootlibdir= /usr/libx32</userinput></screen>155 --with-rootlibdir=&usr-lib-mx32;</userinput></screen> 155 156 156 157 <para>Compile the package:</para> … … 161 162 162 163 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install 163 cp -Rv DESTDIR /usr/libx32/* /usr/libx32164 cp -Rv DESTDIR&usr-lib-mx32;/* &usr-lib-mx32; 164 165 rm -rf DESTDIR</userinput></screen> 165 166 166 </sect2> 167 </sect2><!-- mx32 --> 167 168 168 169 <sect2 id="contents-kmod" role="content">
Note:
See TracChangeset
for help on using the changeset viewer.