OpenWrt SDK and package build/kernel module compilation

Hi All

I got an OpenWRT SDK (OpenWrt-SDK-v2.2.0-imx6_gcc-5.5.0_glibc-2.24_eabi.Linux-x86_64.tar) and I have the following questions:

  • How can I add a kernel module compilation? is it possible and any guidance/steps to do so. Otherwise what could be the best way to do so.

  • how can I compile gdb or other application. I read about dumping packages on the SDK and run make. Any examples of a easy package to build?

Thanks in advance