From 5eafc34d66054cb806b41aa95e3eb61df4edc4db Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Sat, 21 Feb 2015 15:02:55 -0200 Subject: testsuite: leave arch-specific modules in tree This is for convenience for development and testing since we don't want to needlessly cross-compile the modules. There's a README file explaining the building process for those who want to update them. These files are compiled from their respective .c and thus have LPGL license. --- testsuite/module-playground/.gitignore | 1 + testsuite/module-playground/README | 26 ++++++++++++++++++++++ testsuite/module-playground/mod-simple-i386.ko | Bin 0 -> 1988 bytes testsuite/module-playground/mod-simple-sparc64.ko | Bin 0 -> 2927 bytes testsuite/module-playground/mod-simple-x86_64.ko | Bin 0 -> 2768 bytes 5 files changed, 27 insertions(+) create mode 100644 testsuite/module-playground/README create mode 100644 testsuite/module-playground/mod-simple-i386.ko create mode 100644 testsuite/module-playground/mod-simple-sparc64.ko create mode 100644 testsuite/module-playground/mod-simple-x86_64.ko diff --git a/testsuite/module-playground/.gitignore b/testsuite/module-playground/.gitignore index 436976f..5cd3034 100644 --- a/testsuite/module-playground/.gitignore +++ b/testsuite/module-playground/.gitignore @@ -1,5 +1,6 @@ *o.cmd *.ko +!mod-simple-*.ko *.mod.c .tmp_versions modules.order diff --git a/testsuite/module-playground/README b/testsuite/module-playground/README new file mode 100644 index 0000000..76c6e8d --- /dev/null +++ b/testsuite/module-playground/README @@ -0,0 +1,26 @@ +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= CROSS_COMPILER= defconfig + kernel $ make ARCH= CROSS_COMPILER= 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_: for each architecture it needs to point to a + kernel tree configured as in (1) + + CROSS_COMPILER_.ko. After this the build system will recreate them. diff --git a/testsuite/module-playground/mod-simple-i386.ko b/testsuite/module-playground/mod-simple-i386.ko new file mode 100644 index 0000000..9bce6e0 Binary files /dev/null and b/testsuite/module-playground/mod-simple-i386.ko differ diff --git a/testsuite/module-playground/mod-simple-sparc64.ko b/testsuite/module-playground/mod-simple-sparc64.ko new file mode 100644 index 0000000..17242c8 Binary files /dev/null and b/testsuite/module-playground/mod-simple-sparc64.ko differ diff --git a/testsuite/module-playground/mod-simple-x86_64.ko b/testsuite/module-playground/mod-simple-x86_64.ko new file mode 100644 index 0000000..0159b99 Binary files /dev/null and b/testsuite/module-playground/mod-simple-x86_64.ko differ -- cgit v1.2.1