Ignore:
Timestamp:
Dec 28, 2016, 10:04:32 AM (3 years ago)
Author:
amain
Message:

Add LEDE support. LEDE is (for now) the new default.

Location:
trunk/openwrt/patches/lede
Files:
1 added
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/patches/lede/all/021_install_kernel_modules_and_merge_debwrt_config

    r753 r884  
    1 diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk
    2 index 406fd46..d6f4dfb 100644
    3 --- a/include/kernel-defaults.mk
    4 +++ b/include/kernel-defaults.mk
    5 @@ -105,22 +105,109 @@ define Kernel/SetNoInitramfs
     1--- trunk-HEAD/include/kernel-defaults.mk       2016-12-26 17:39:46.752743317 +0100
     2+++ trunk-HEAD/include/kernel-defaults.mk.new   2016-12-26 17:37:10.299518980 +0100
     3@@ -109,6 +109,18 @@
    64 endef
    75 
     
    1917+       @echo ">>> to  :  LINUX_DIR/.config.target"
    2018+       @echo
     19        rm -f $(LINUX_DIR)/localversion
    2120        $(LINUX_CONF_CMD) > $(LINUX_DIR)/.config.target
    2221 # copy CONFIG_KERNEL_* settings over to .config.target
    23         awk '/^(#[[:space:]]+)?CONFIG_KERNEL/{sub("CONFIG_KERNEL_","CONFIG_");print}' $(TOPDIR)/.config >> $(LINUX_DIR)/.config.target
     22@@ -116,16 +128,89 @@
    2423        echo "# CONFIG_KALLSYMS_EXTRA_PASS is not set" >> $(LINUX_DIR)/.config.target
    2524        echo "# CONFIG_KALLSYMS_ALL is not set" >> $(LINUX_DIR)/.config.target
     
    3130+       @echo ">>> to  :  LINUX_DIR/.config.override"
    3231+       @echo
    33         $(SCRIPT_DIR)/metadata.pl kconfig $(TMP_DIR)/.packageinfo $(TOPDIR)/.config $(KERNEL_PATCHVER) > $(LINUX_DIR)/.config.override
    34 -       $(SCRIPT_DIR)/kconfig.pl 'm+' '+' $(LINUX_DIR)/.config.target /dev/null $(LINUX_DIR)/.config.override > $(LINUX_DIR)/.config.set
     32        $(SCRIPT_DIR)/package-metadata.pl kconfig $(TMP_DIR)/.packageinfo $(TOPDIR)/.config $(KERNEL_PATCHVER) > $(LINUX_DIR)/.config.override
     33        $(SCRIPT_DIR)/kconfig.pl 'm+' '+' $(LINUX_DIR)/.config.target /dev/null $(LINUX_DIR)/.config.override > $(LINUX_DIR)/.config.set
    3534+       @echo
    3635+       @echo
     
    6261+       @echo
    6362+       @echo ">>>    start diff openwrt versus debwrt"
    64 +       -diff $(LINUX_DIR)/.config.1 $(LINUX_DIR)/.config.2 >$(LINUX_DIR)/.config.diff
    65 +       cat $(LINUX_DIR)/.config.diff
    66 +       @echo ">>>    end diff openwrt versus debwrt"
    6763+       @echo
    6864+       @echo
     
    9490+       @echo
    9591        cmp -s $(LINUX_DIR)/.config.set $(LINUX_DIR)/.config.prev || { \
    96 +               echo -e "\n\n*********** UPDATING CONFIG ****************"; \
     92+               echo -e "\n\n*********** UPDATING CONFIG ****************"; \
    9793                cp $(LINUX_DIR)/.config.set $(LINUX_DIR)/.config; \
    9894                cp $(LINUX_DIR)/.config.set $(LINUX_DIR)/.config.prev; \
     
    114110 
    115111 define Kernel/Configure/Initramfs
    116 @@ -128,8 +215,19 @@ define Kernel/Configure/Initramfs
     112@@ -133,8 +218,19 @@
    117113 endef
    118114 
Note: See TracChangeset for help on using the changeset viewer.