You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
3 years ago | |
|---|---|---|
| .. | ||
| cache | 3 years ago | |
| .gitignore | 3 years ago | |
| Makefile | 3 years ago | |
| Makefile.arch | 3 years ago | |
| README | 3 years ago | |
| dummy.pkcs7 | 3 years ago | |
| dummy.sha1 | 3 years ago | |
| dummy.sha256 | 3 years ago | |
| mod-fake-cciss.c | 3 years ago | |
| mod-fake-hpsa.c | 3 years ago | |
| mod-fake-scsi-mod.c | 3 years ago | |
| mod-foo-a.c | 3 years ago | |
| mod-foo-b.c | 3 years ago | |
| mod-foo-c.c | 3 years ago | |
| mod-foo.c | 3 years ago | |
| mod-loop-a.c | 3 years ago | |
| mod-loop-b.c | 3 years ago | |
| mod-loop-c.c | 3 years ago | |
| mod-loop-d.c | 3 years ago | |
| mod-loop-e.c | 3 years ago | |
| mod-loop-f.c | 3 years ago | |
| mod-loop-g.c | 3 years ago | |
| mod-loop-h.c | 3 years ago | |
| mod-loop-i.c | 3 years ago | |
| mod-loop-j.c | 3 years ago | |
| mod-loop-k.c | 3 years ago | |
| mod-loop.h | 3 years ago | |
| mod-simple-i386.ko | 3 years ago | |
| mod-simple-sparc64.ko | 3 years ago | |
| mod-simple-x86_64.ko | 3 years ago | |
| mod-simple.c | 3 years ago | |
README
Pre-compiled modules
====================
Some modules are pre-compiled due to needing cross-compilers present on the
build/dev machine which is inconvenient. Makefile is ready to compile them again
in case they are missing:
1) Prepare the linux kernel trees to build external modules, i.e.:
kernel $ make ARCH=<arch> CROSS_COMPILER=<cross-compiler-prefix> defconfig
kernel $ make ARCH=<arch> CROSS_COMPILER=<cross-compiler-prefix> modules_prepare
For each architecture. See the Makefile to check which are the supported architectures.
2) Export the variables below to point to the right place:
KDIR_<arch>: for each architecture it needs to point to a
kernel tree configured as in (1)
CROSS_COMPILER_<arch: for each architecture it needs to point to the
correct toolchain prefix. Leave it blank if a
cross-compiler is not needed (example: you are
building a 32b module with a multilib compiler).
3) Remove every %-<arch>.ko. After this the build system will recreate them.