diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-01-08 15:23:11 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-01-08 15:23:11 +0000 |
commit | 97af76a92047a9034cd394e08c715949eea68837 (patch) | |
tree | bcc402400fe3b940c1eca1c4b18176fe382866ee /include/kernel-defaults.mk | |
parent | 2d17b67c28e8b1279b53c09881259cd819336fab (diff) | |
download | mtk-20170518-97af76a92047a9034cd394e08c715949eea68837.zip mtk-20170518-97af76a92047a9034cd394e08c715949eea68837.tar.gz mtk-20170518-97af76a92047a9034cd394e08c715949eea68837.tar.bz2 |
include: calculate md5sum over sorted kernel config symbol list and incorperate it into the kernel metapackage version, make kmods depend on this specific version. The aim of this change is to invalidate kmods which are built against a different kernel config on the opkg metadata level. Manual copying and insmod of custom *.ko files, e.g. for development purpose, is still possible.
SVN-Revision: 29686
Diffstat (limited to 'include/kernel-defaults.mk')
-rw-r--r-- | include/kernel-defaults.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk index 5fd27ae..52ce037 100644 --- a/include/kernel-defaults.mk +++ b/include/kernel-defaults.mk @@ -89,6 +89,7 @@ define Kernel/Configure/Default $(call Kernel/SetInitramfs) -$(_SINGLE)$(MAKE) $(KERNEL_MAKEOPTS) oldconfig prepare scripts rm -rf $(KERNEL_BUILD_DIR)/modules + $(SH_FUNC) grep '=[ym]' $(LINUX_DIR)/.config | LC_ALL=C sort | md5s > $(LINUX_DIR)/.vermagic endef define Kernel/CompileModules/Default |