On 2015-08-19 08:50, Daniel Baluta wrote: > scripts/package/builddeb already creates a linux-keader .deb > package, but we need this feature also for non-Debian distros > (e.g. Android or LFS). Kbuild supports building out-of-tree modules by providing the /lib/modules/*/build and /lib/modules/*/source symlinks, pointing to the whole build/source trees. IMO, an optimization like your script should remain part of the distro packaging, which also takes care of the symlinks. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html