Home | History | Annotate | only in /external/kmod/testsuite/module-playground
Up to higher level directory
NameDateSize
.gitignore05-Oct-2017152
cache/05-Oct-2017
dummy.sha105-Oct-2017100K
dummy.sha25605-Oct-2017100K
Makefile05-Oct-20172K
Makefile.arch05-Oct-2017458
mod-fake-cciss.c05-Oct-20171.6K
mod-fake-hpsa.c05-Oct-20171.4K
mod-fake-scsi-mod.c05-Oct-2017353
mod-foo-a.c05-Oct-2017353
mod-foo-b.c05-Oct-2017353
mod-foo-c.c05-Oct-2017353
mod-foo.c05-Oct-2017396
mod-loop-a.c05-Oct-2017439
mod-loop-b.c05-Oct-2017439
mod-loop-c.c05-Oct-2017417
mod-loop-d.c05-Oct-2017417
mod-loop-e.c05-Oct-2017417
mod-loop-f.c05-Oct-2017406
mod-loop-g.c05-Oct-2017406
mod-loop-h.c05-Oct-2017417
mod-loop-i.c05-Oct-2017417
mod-loop-j.c05-Oct-2017428
mod-loop-k.c05-Oct-2017417
mod-loop.h05-Oct-2017223
mod-simple-i386.ko05-Oct-20171.9K
mod-simple-sparc64.ko05-Oct-20172.9K
mod-simple-x86_64.ko05-Oct-20172.7K
mod-simple.c05-Oct-2017295
README05-Oct-20171.1K

README

      1 Pre-compiled modules
      2 ====================
      3 
      4 Some modules are pre-compiled due to needing cross-compilers present on the
      5 build/dev machine which is inconvenient. Makefile is ready to compile them again
      6 in case they are missing:
      7 
      8 1) Prepare the linux kernel trees to build external modules, i.e.:
      9 
     10    kernel $ make ARCH=<arch> CROSS_COMPILER=<cross-compiler-prefix> defconfig
     11    kernel $ make ARCH=<arch> CROSS_COMPILER=<cross-compiler-prefix> modules_prepare
     12 
     13    For each architecture. See the Makefile to check which are the supported architectures.
     14 
     15 2) Export the variables below to point to the right place:
     16 
     17    KDIR_<arch>:                for each architecture it needs to point to a
     18                                kernel tree configured as in (1)
     19 
     20    CROSS_COMPILER_<arch:       for each architecture it needs to point to the
     21 			       correct toolchain prefix. Leave it blank if a
     22 			       cross-compiler is not needed (example: you are
     23 			       building a 32b module with a multilib compiler).
     24 
     25 
     26 3) Remove every %-<arch>.ko. After this the build system will recreate them.
     27