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 | f1f318510cade3fefbc410bbbd37c269f06ea215 (patch) | |
tree | 2a17f4d697c96a33cd3a5df0f6de6aaae8f1179c | |
parent | d43c69f0c032861cc1d1a5aaf546493f02cdcf1d (diff) | |
download | upstream-f1f318510cade3fefbc410bbbd37c269f06ea215.tar.gz upstream-f1f318510cade3fefbc410bbbd37c269f06ea215.tar.bz2 upstream-f1f318510cade3fefbc410bbbd37c269f06ea215.zip |
kernel: reduce spurious rebuilds of simple kmod-* packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37403 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 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 |