Changeset 754 for branches


Ignore:
Timestamp:
Mar 6, 2016, 7:58:40 PM (4 years ago)
Author:
amain
Message:

Re-add lost modules/modules_install in 15.05

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/15.05/openwrt/patches/all/021_install_kernel_modules_and_merge_debwrt_config

    r748 r754  
    11diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk
    2 index 24d2630..34258c6 100644
     2index 24d2630..ce6ed8a 100644
    33--- a/include/kernel-defaults.mk
    44+++ b/include/kernel-defaults.mk
     
    7070        $(SH_FUNC) grep '=[ym]' $(LINUX_DIR)/.config | LC_ALL=C sort | md5s > $(LINUX_DIR)/.vermagic
    7171 endef
    72 @@ -120,6 +170,10 @@ define Kernel/Configure/Initramfs
     72@@ -120,8 +170,19 @@ define Kernel/Configure/Initramfs
    7373 endef
    7474 
     
    7979+       @echo
    8080        rm -f $(LINUX_DIR)/vmlinux $(LINUX_DIR)/System.map
     81+       # DebWrt make modules install
     82+       -mkdir -p $(TMP_DIR)/modules
     83+       # don't merge modules and modules_install into 1 make call!
    8184        +$(MAKE) $(KERNEL_MAKEOPTS) modules
     85+       +$(MAKE) $(KERNEL_MAKEOPTS) modules_install INSTALL_MOD_PATH=$(TMP_DIR)/modules
     86+       echo "OPENWRT_LINUX_VERSION=$(LINUX_VERSION)" >> $(TOPDIR)/.openwrt_env
     87+       echo "OPENWRT_LINUX_UNAME_VERSION=$(LINUX_UNAME_VERSION)" >> $(TOPDIR)/.openwrt_env
     88+       echo "OPENWRT_LINUX_DIR=$(LINUX_DIR)" >> $(TOPDIR)/.openwrt_env
    8289 endef
     90 
     91 OBJCOPY_STRIP = -R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id
Note: See TracChangeset for help on using the changeset viewer.