source: trunk/openwrt/patches/lede/all/021_04_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: 892 bytes
Line 
1--- trunk-HEAD/include/kernel-defaults.mk.org   2017-01-26 19:05:47.694240056 +0100
2+++ trunk-HEAD/include/kernel-defaults.mk       2017-01-26 19:06:15.441737671 +0100
3@@ -177,6 +177,22 @@
4        @echo
5        $(call Kernel/SetNoInitramfs)
6        rm -rf $(KERNEL_BUILD_DIR)/modules
7+       @echo
8+       @echo
9+       @echo ">>> Restore LINUX_DIR/.config (preserve timestamp)"
10+       @echo ">>> from: $(LINUX_DIR)/.config.org"
11+       @echo
12+       -cp -p $(LINUX_DIR)/.config.org $(LINUX_DIR)/.config
13+       @echo
14+       @echo
15+       @echo ">>> List temporary .config files"
16+       @echo
17+       find $(LINUX_DIR) -maxdepth 1 -name ".config*" -ls
18+       @echo
19+       @echo
20+       @echo ">>> Update(or keep) LINUX_DIR/.config"
21+       @echo ">>> if LINUX_DIR/.config.set differs from LINUX_DIR/.config.prev"
22+       @echo
23        cmp -s $(LINUX_DIR)/.config.set $(LINUX_DIR)/.config.prev || { \
24                cp $(LINUX_DIR)/.config.set $(LINUX_DIR)/.config; \
25                cp $(LINUX_DIR)/.config.set $(LINUX_DIR)/.config.prev; \
Note: See TracBrowser for help on using the repository browser.