Home | History | Annotate | only in /external/kmod/testsuite/module-playground
Up to higher level directory
NameDateSize
.gitignore06-Dec-2017152
cache/06-Dec-2017
dummy.sha106-Dec-2017100K
dummy.sha25606-Dec-2017100K
Makefile06-Dec-20172K
Makefile.arch06-Dec-2017458
mod-fake-cciss.c06-Dec-20171.6K
mod-fake-hpsa.c06-Dec-20171.4K
mod-fake-scsi-mod.c06-Dec-2017353
mod-foo-a.c06-Dec-2017353
mod-foo-b.c06-Dec-2017353
mod-foo-c.c06-Dec-2017353
mod-foo.c06-Dec-2017396
mod-loop-a.c06-Dec-2017439
mod-loop-b.c06-Dec-2017439
mod-loop-c.c06-Dec-2017417
mod-loop-d.c06-Dec-2017417
mod-loop-e.c06-Dec-2017417
mod-loop-f.c06-Dec-2017406
mod-loop-g.c06-Dec-2017406
mod-loop-h.c06-Dec-2017417
mod-loop-i.c06-Dec-2017417
mod-loop-j.c06-Dec-2017428
mod-loop-k.c06-Dec-2017417
mod-loop.h06-Dec-2017223
mod-simple-i386.ko06-Dec-20171.9K
mod-simple-sparc64.ko06-Dec-20172.9K
mod-simple-x86_64.ko06-Dec-20172.7K
mod-simple.c06-Dec-2017295
README06-Dec-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