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>
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>
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>
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>
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>