android13/external/kmod/testsuite/module-playground
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
cache initial 2024-06-22 20:45:49 +08:00
Makefile initial 2024-06-22 20:45:49 +08:00
Makefile.arch initial 2024-06-22 20:45:49 +08:00
README initial 2024-06-22 20:45:49 +08:00
dummy.pkcs7 initial 2024-06-22 20:45:49 +08:00
dummy.sha1 initial 2024-06-22 20:45:49 +08:00
dummy.sha256 initial 2024-06-22 20:45:49 +08:00
mod-fake-cciss.c initial 2024-06-22 20:45:49 +08:00
mod-fake-hpsa.c initial 2024-06-22 20:45:49 +08:00
mod-fake-scsi-mod.c initial 2024-06-22 20:45:49 +08:00
mod-foo-a.c initial 2024-06-22 20:45:49 +08:00
mod-foo-b.c initial 2024-06-22 20:45:49 +08:00
mod-foo-c.c initial 2024-06-22 20:45:49 +08:00
mod-foo.c initial 2024-06-22 20:45:49 +08:00
mod-loop-a.c initial 2024-06-22 20:45:49 +08:00
mod-loop-b.c initial 2024-06-22 20:45:49 +08:00
mod-loop-c.c initial 2024-06-22 20:45:49 +08:00
mod-loop-d.c initial 2024-06-22 20:45:49 +08:00
mod-loop-e.c initial 2024-06-22 20:45:49 +08:00
mod-loop-f.c initial 2024-06-22 20:45:49 +08:00
mod-loop-g.c initial 2024-06-22 20:45:49 +08:00
mod-loop-h.c initial 2024-06-22 20:45:49 +08:00
mod-loop-i.c initial 2024-06-22 20:45:49 +08:00
mod-loop-j.c initial 2024-06-22 20:45:49 +08:00
mod-loop-k.c initial 2024-06-22 20:45:49 +08:00
mod-loop.h initial 2024-06-22 20:45:49 +08:00
mod-simple-i386.ko initial 2024-06-22 20:45:49 +08:00
mod-simple-sparc64.ko initial 2024-06-22 20:45:49 +08:00
mod-simple-x86_64.ko initial 2024-06-22 20:45:49 +08:00
mod-simple.c initial 2024-06-22 20:45:49 +08:00

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.