title: building /lib/modules/$(uname -r)/build while compiling a kernel
body: <p>I am cross-compiling 3.4.0 kernel for an embedded device. Then I would like to install compat-wireless drivers which require <code>/lib/modules/3.4/build</code> directory and sub-files. Could anyone explain how can I build that directory so that when I do <code>INSTALL_MOD_PATH=newmodules make modules_install</code> it would load <code>/lib/modules/$(uname -r)/build</code> directory as well? I would appreciate for a clear explanation.</p>
  
  <p>I am using debian distro. I know I can install the kernel headers by <code>apt-get install linux-headers-$(uname -r)</code>, but I doubt it would be a good idea since the kernel sources might not be identical.</p>