diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-07-18 16:32:07 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-07-18 16:32:07 +0000 |
commit | 5308e258daaf584606a92c085d8a1883d8733fa9 (patch) | |
tree | 98f41c7c0f148fdbc2f9e92faf08d35aa6596d8c /package/kernel/linux/Makefile | |
parent | 32d810e75ac4b3ba87f95b8b8eb5c6a1911edac1 (diff) | |
download | mtk-20170518-5308e258daaf584606a92c085d8a1883d8733fa9.zip mtk-20170518-5308e258daaf584606a92c085d8a1883d8733fa9.tar.gz mtk-20170518-5308e258daaf584606a92c085d8a1883d8733fa9.tar.bz2 |
kernel: reduce spurious rebuilds of simple kmod-* packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37403
Diffstat (limited to 'package/kernel/linux/Makefile')
-rw-r--r-- | package/kernel/linux/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/kernel/linux/Makefile b/package/kernel/linux/Makefile index 4ca442f..e10e99c 100644 --- a/package/kernel/linux/Makefile +++ b/package/kernel/linux/Makefile @@ -18,6 +18,9 @@ PKG_LICENSE:=GPLv2 PKG_LICENSE_FILES:= include $(INCLUDE_DIR)/package.mk + +STAMP_BUILT:=$(STAMP_BUILT)_$(firstword $(shell $(SCRIPT_DIR)/kconfig.pl $(LINUX_DIR)/.config | md5sum)) + ifeq ($(DUMP),) -include $(LINUX_DIR)/.config endif @@ -32,6 +35,9 @@ endef define Build/Compile endef +define KernelPackage/depends +endef + CONFIG_PACKAGE_kernel=y define Package/kernel SECTION:=sys |