aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2017-05-11 14:33:43 -0700
committerJohn Crispin <john@phrozen.org>2017-05-25 09:22:43 +0200
commit8e0e0e7d8bfbe7befcaa453f0b4993605703a690 (patch)
treeb74f64f11240d2c40f6bb0c949e336cc5c011004 /README
parentb6746a6ffb738d541b64eb4107e688d36ff86417 (diff)
downloadupstream-8e0e0e7d8bfbe7befcaa453f0b4993605703a690.tar.gz
upstream-8e0e0e7d8bfbe7befcaa453f0b4993605703a690.tar.bz2
upstream-8e0e0e7d8bfbe7befcaa453f0b4993605703a690.zip
include: Determine MODULES_DIR correctly for external/git kernels
When using external or git cloned kernels, any kind of modifications will alter KERNELRELEASE. LEDE still tries to stage modules in lib/modules/$(LINUX_UNAME_VERSION) and LINUX_UNAME_VERSION is based on KERNEL_PATCHVER (indirectly) so this does not work, and we lose all kinds of automatic modules loading. To remedy that, just cat $(LINUX_DIR)/include/config/kernel.release which is late enough the kernel has prepared this file, and is correctly tracking changes done throughout the kernel. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions