Changes in chapter08/kmod.xml [f26f74cb:9ea5b3d]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/kmod.xml
rf26f74cb r9ea5b3d 98 98 99 99 </sect2> 100 101 <!-- - - - - - - - - - --> 102 <!-- Multilib - 32bit --> 103 <!-- - - - - - - - - - --> 104 105 <sect2 arch="ml_32,ml_all" role="installation"> 106 <title>Installation of Kmod - 32bit</title> 107 108 <para>Clean previous build but keep man pages as they cannot 109 be recreated since xsltproc isn't installed yet:</para> 110 111 <screen><userinput remap="pre">sed -e "s/^CLEANFILES =.*/CLEANFILES =/" -i man/Makefile 112 make clean</userinput></screen> 113 114 <para>Prepare Kmod for compilation:</para> 115 116 <screen><userinput remap="configure">CC="gcc -m32" ./configure \ 117 --host=i686-pc-linux-gnu \ 118 --prefix=/usr \ 119 --libdir=/usr/lib32 \ 120 --sysconfdir=/etc \ 121 --with-xz \ 122 --with-zstd \ 123 --with-zlib \ 124 --with-rootlibdir=/usr/lib32</userinput></screen> 125 126 <para>Compile the package:</para> 127 128 <screen><userinput remap="make">make</userinput></screen> 129 130 <para>Install the package:</para> 131 132 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install 133 cp -Rv DESTDIR/usr/lib32/* /usr/lib32 134 rm -rf DESTDIR</userinput></screen> 135 136 </sect2><!-- m32 --> 137 138 <!-- - - - - - - - - - --> 139 <!-- Multilib - x32bit --> 140 <!-- - - - - - - - - - --> 141 142 <sect2 arch="ml_x32,ml_all" role="installation"> 143 <title>Installation of Kmod - x32bit</title> 144 145 <para>Clean previous build but keep man pages as they cannot 146 be recreated since xsltproc isn't installed yet:</para> 147 148 <screen><userinput remap="pre">sed -e "s/^CLEANFILES =.*/CLEANFILES =/" -i man/Makefile 149 make clean</userinput></screen> 150 151 <para>Prepare Kmod for compilation:</para> 152 153 <screen><userinput remap="configure">CC="gcc -mx32" ./configure \ 154 --host=x86_64-pc-linux-gnux32 \ 155 --prefix=/usr \ 156 --libdir=/usr/libx32 \ 157 --sysconfdir=/etc \ 158 --with-xz \ 159 --with-zstd \ 160 --with-zlib \ 161 --with-rootlibdir=/usr/libx32</userinput></screen> 162 163 <para>Compile the package:</para> 164 165 <screen><userinput remap="make">make</userinput></screen> 166 167 <para>Install the package:</para> 168 169 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install 170 cp -Rv DESTDIR/usr/libx32/* /usr/libx32 171 rm -rf DESTDIR</userinput></screen> 172 173 </sect2><!-- mx32 --> 100 174 101 175 <sect2 id="contents-kmod" role="content">
Note:
See TracChangeset
for help on using the changeset viewer.