source: trunk/openwrt/patches/lede/all/021_10_install_kernel_modules_and_merge_debwrt_config @ 924

Last change on this file since 924 was 924, checked in by amain, 2 years ago

lede: update patches, split patch 021_install_kernel_modules_and_merge_debwrt_config

File size: 801 bytes
Line 
1Index: trunk-HEAD/include/kernel-defaults.mk
2===================================================================
3--- trunk-HEAD.orig/include/kernel-defaults.mk
4+++ trunk-HEAD/include/kernel-defaults.mk
5@@ -227,6 +227,10 @@ define Kernel/CompileModules/Default
6        -mkdir -p $(TMP_DIR)/modules
7        # don't merge modules and modules_install into 1 make call!
8        +$(MAKE) $(KERNEL_MAKEOPTS) modules
9+       +$(MAKE) $(KERNEL_MAKEOPTS) modules_install INSTALL_MOD_PATH=$(TMP_DIR)/modules
10+       echo "OPENWRT_LINUX_VERSION=$(LINUX_VERSION)" >> $(TOPDIR)/.openwrt_env
11+       echo "OPENWRT_LINUX_UNAME_VERSION=$(LINUX_UNAME_VERSION)" >> $(TOPDIR)/.openwrt_env
12+       echo "OPENWRT_LINUX_DIR=$(LINUX_DIR)" >> $(TOPDIR)/.openwrt_env
13 endef
14 
15 OBJCOPY_STRIP = -R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id
Note: See TracBrowser for help on using the repository browser.