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
This commit is contained in:
Felix Fietkau
2013-07-18 16:32:07 +00:00
parent d43c69f0c0
commit f1f318510c

View File

@@ -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