kernel: reduce spurious rebuilds of simple kmod-* packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37403
This commit is contained in:
@@ -18,6 +18,9 @@ PKG_LICENSE:=GPLv2
|
|||||||
PKG_LICENSE_FILES:=
|
PKG_LICENSE_FILES:=
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
STAMP_BUILT:=$(STAMP_BUILT)_$(firstword $(shell $(SCRIPT_DIR)/kconfig.pl $(LINUX_DIR)/.config | md5sum))
|
||||||
|
|
||||||
ifeq ($(DUMP),)
|
ifeq ($(DUMP),)
|
||||||
-include $(LINUX_DIR)/.config
|
-include $(LINUX_DIR)/.config
|
||||||
endif
|
endif
|
||||||
@@ -32,6 +35,9 @@ endef
|
|||||||
define Build/Compile
|
define Build/Compile
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/depends
|
||||||
|
endef
|
||||||
|
|
||||||
CONFIG_PACKAGE_kernel=y
|
CONFIG_PACKAGE_kernel=y
|
||||||
define Package/kernel
|
define Package/kernel
|
||||||
SECTION:=sys
|
SECTION:=sys
|
||||||
|
|||||||
Reference in New Issue
Block a user