Reference Manual

Redpine Signals, Inc. Proprietary and Confidential Page 16
RS9116 n-Link Linux and Android
Technical Reference Manual
Version 2.0
Figure 5: Save the changes
before exiting
4. Now to compile the driver, enter the following command:
The code is compiled and the binaries are generated in the source/host/release folder. For embedded platforms, modify
the path assigned to the "DEF_KERNEL_DIR" variable in the Makefile:
The DEF_KERNEL_DIR variable has to be assigned along with the compiled kernel path. For an x86 based Linux platform,
the path is usually "/lib/modules/<kernel_version>/build" and this is the path assigned in the Makefile provided in the
package.
Example:
Next, use the "make" command to start compiling the driver. For embedded platforms, add the target platform and
toolchain path as cross compilation option to the "make" command.