From: Felix Fietkau Date: Thu, 18 Jul 2013 16:32:07 +0000 (+0000) Subject: kernel: reduce spurious rebuilds of simple kmod-* packages X-Git-Tag: reboot~9829 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5308e258daaf584606a92c085d8a1883d8733fa9;p=openwrt%2Fstaging%2Fpepe2k.git kernel: reduce spurious rebuilds of simple kmod-* packages Signed-off-by: Felix Fietkau SVN-Revision: 37403 --- diff --git a/package/kernel/linux/Makefile b/package/kernel/linux/Makefile index 4ca442f2a5..e10e99c51e 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