5 Replies Latest reply on Apr 19, 2016 9:34 AM by Intel_Peter

    No kernel src in Galileo toolchain


      I used the approach from IoT - Creating a Yocto image for the Intel® Galileo board using split layers | Intel® Developer Zone to build iot-devkit-prof-dev-image and then rum bitbake -c poulate-sdk to generate a toolchain.

      When I looked into the toolchain, there is no Linux src, which should be in /opt/iot-devkit/1.7.3/sysroots/i586-poky-linux/usr/src. I noticed that kernel-devsrc package is not installed in the bitbake build toolchain. In fact, kernel-devsrc.bb cannot be found in the dizzy branch of openembedded-core layer.


      Here are my questions:

      1. Is therea way to generate linux src in the iotdk toolchain?

      2. Can I just cp iotdk/build/tmp/sysroots/quark/usr/src/linux into the toolchain and use it as the kernel directory for kernel module development?


      Any help is appreciated!