Lanner AV-ICE01 User Manual
Page 22

Software User Manual Version 1.0.1
19
To manually compile the acceleration sample code, do the following:
1. The following environment variables must be set to build the modules:
# export ICP_ROOT=/CRF_Release
# export ICP_BUILDSYSTEM_PATH=$ICP_ROOT/quickassist/build_system
# export ICP_ENV_DIR=$ICP_ROOT/quickassist/build_system/build_files/env_files
If the intermediate modules are required, the following variables must also be set:
# export ICP_BUILD_OUTPUT=$ICP_ROOT/build
# export ICP_TOOLS_TARGET=accelcomp
2. The sample code is compiled with the default assumption that the kernel source
header files are located in one of the following directories;
64-bit: /usr/src/kernels/3.1.0-7.fc16.x86_64
32-bit: /usr/src/kernels/3.1.0-7.fc16.i686
3. If the kernel source header files are located in a different directory, create the
environment variable with the directory of desired target kernel sources. For
example:
# export KERNEL_SOURCE_ROOT=/usr/src/kernels/linux
4. You can compile for both Kernel space and User space at the same time using the
following commands:
# cd $ICP_ROOT/quickassist/lookaside/access_layer/src/sample_code
# make perf_all
The generated Linux kernel object and sample application are located at:
$ICP_ROOT/quickassist/lookaside/access_layer/src/sample_code/build
Proceed to signOfLife Tests next page for instructions on executing the tests.