I am using GLSDK 6_00_00_07 and made some changes to kernel config. I am able to boot the system properly however to compile some modules I need to install linux-headers- and linux-image package for my custom kernel.
How can I build a deb package for this purpose? Can you suggest steps to create these packages with make-kpkg?
The command:
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- deb-pkg
works fine initially, creates all modules. But throws error during DEPMOD stage saying "dpkg-gencontrol: error: current host architecture 'armhf' does not appear in package architecture list (amd64)".