Skip to content

Cross-Compilation

The SDK build script can compile the driver for another architecture.

  1. Install the target cross compiler and prepare the matching kernel source tree.
  2. Edit cross_compile_config.sh in the SDK directory:
bash
export ARCH=arm64
export CROSS_COMPILE=/path/to/your/toolchain/bin/aarch64-linux-gnu-
export KERNEL_LOCATION=/path/to/your/kernel-source/
  1. Run the cross-compilation command:
bash
./build.sh -c

The kernel source and configuration must match the kernel that will load the module.

Cross-compilation output

Driving Intelligent Connections, Empowering the Future