📄 readme
字号:
##by Constantine Gavrilov <const-g@xpert.com>Important note! New i2c code has been included into 2.3.38 kernel. If you arerunning the latest versions of 2.3.x, you probably do not need this package.Use i2c-rh.spec to build against stock kernels of RedHat based distributions.Use i2c.spec to build against custom built kernels.#############################################################################Short instructions on how to build:1) Put i2c.spec into SPECS directory of your rpm tree (/usr/src/redhat/SPECS on RedHat, /usr/src/packages/SPECS on SuSe, /usr/src/RPM/SPECS on Mandrake).2) Put i2c tarball in the SOURCES directory of your RPM tree (see examples above).3) Adjust the following variables in i2c.spec: a) prefix - where the stuff gets installed; b) kversion - version of kernel RPM you are running; c) mversion (if necessary) - defines path for modules' install (equal to kversion by default) -- modules will be installed to /lib/modules/%{mversion}. d) ver - version of i2c you are compiling (if necessary); e) Group - to which group the package belongs (if necessary). 4) Type `rpm -bb i2c.spec' from the SPECS directory.5) Install the resulting binary packages.############################################################################To build this rpm you need (apart from the rpm program):1) C development environment;2) kernel sources and headers for the same version of kernel that you are running on your machine. ########################################################################################################################################################WARNING!!! This package must be compiled for the the same kernelthat will run on the target machine. This implies the same kernelversion and the same kernel configuration. Thus, this binary packagecan be provided by distribution vendors only for their stock distributionkernels. If you use a custom configured kernel, you must rebuild thispackage. To protect the ignorant, we define kversion and make theresulting package dependable on the specific version of the kernel.#############################################################################For help on building this rpm, suggestions, comments, etc, you may contact meat <const-g@xpert.com> .
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -