Prepare SDK for LKM Development

LTPS SDK includes a full Linux kernel source tree preconfigured for the platform. There are also several LKM build helper programs included in a source form.

If you're going to build your own or third-party Linux kernel module, this step is required.

Action has to be done only once after SDK installation. Module build helper scripts created at this step will be saved deep inside SDK folder.

[dv@dvh kmod-hello_world]$ cd ${SDKTARGETSYSROOT}/usr/src/kernel
[dv@localhost kernel]$ make scripts
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/sortextable
[dv@dvh kmod-hello_world]$

That's all!