Commit Graph

12 Commits

Author SHA1 Message Date
Robert Baldyga
e5e0697da4 Add support for kernel 5.11
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-06-15 18:59:08 +02:00
Rafal Stefanowski
43f43068ad Update copyright statements (2021)
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2021-01-21 13:15:38 +01:00
Anatol Pomozov
59d0492ef4 Specify modules source dir to avoid build warnings
If we run 'make kernelversion' in a read-only dir then it produces

  mkdir: cannot create directory ‘.tmp_1056416’: Permission denied
  mkdir: cannot create directory ‘.tmp_1056420’: Permission denied
  mkdir: cannot create directory ‘.tmp_1056421’: Permission denied
  mkdir: cannot create directory ‘.tmp_1056423’: Permission denied

warnings. To avoid it we need to specify where the source (and build)
directory located.

Closes #540

Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
2020-10-29 18:36:23 -07:00
Rafal Stefanowski
44b4020cc1 Update copyright statements
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-05-04 16:47:38 +02:00
Michal Mielewczyk
195e5c5e56 configure: Save output from test modules compilation.
Currently configure script doesn't support any logging mechanism. To make easy
debugging possible, output from all failed compilation attempts is stored.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-10-14 08:43:45 -04:00
Michal Rakowski
0f2ea7ade7 configure: more deseralization & cleanup
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-09-09 16:10:31 +02:00
Michal Rakowski
18b879884e configure: slightly extended compile_module config helper
Allow to pass many includes along with creating function.

Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-08-26 11:52:39 +02:00
Michal Mielewczyk
a32b079a8a Enable confiugure script to generate header in parallel.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-07-15 06:23:11 -04:00
Michal Mielewczyk
9473cf9795 Enable configure script to compile test modules in parallel.
This patch significantly reduces time needed to prepare config file.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-07-12 03:00:18 -04:00
Robert Baldyga
13c51041ff Generate and apply config
Allows for faster configuration in known environments

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-07-11 03:32:53 -04:00
Adam Rutkowski
4db30027a9 Respect KERNEL_DIR environment variable
KERNEL_DIR environment variable can be used to configure
and make CAS with custom kernel source path.

Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2019-06-14 19:35:53 -04:00
Michal Mielewczyk
1e5355eba1 Extending 'configure' script
Functions and macros dependent on different kernel versions are now generated
before compilation basing on current kernel capabilities instead of hardcoding
them for specific kernels.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-05-30 06:29:07 -04:00