X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ea4e6a2593d6bc6244cb4d46077fceaf0169e098..edd500a49d9454ff072c5bec10715b43a65edf81:/include/kernel.mk diff --git a/include/kernel.mk b/include/kernel.mk index 4cf0e7a72..00a7882ac 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -32,7 +32,6 @@ else LINUX_DIR := $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION) MODULES_SUBDIR:=lib/modules/$(LINUX_VERSION) - MODULES_DIR := $(KERNEL_BUILD_DIR)/modules/$(MODULES_SUBDIR) TARGET_MODULES_DIR := $(LINUX_TARGET_DIR)/$(MODULES_SUBDIR) LINUX_KERNEL:=$(KERNEL_BUILD_DIR)/vmlinux @@ -43,6 +42,8 @@ else http://www.kernel.org/pub/linux/kernel/v$(KERNEL) \ http://www.de.kernel.org/pub/linux/kernel/v$(KERNEL) + PKG_BUILD_DIR ?= $(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) + endif @@ -106,6 +107,8 @@ define KernelPackage endif endif $$(eval $$(call BuildPackage,kmod-$(1))) + + $$(IPKG_kmod-$(1)): $$(wildcard $$(FILES)) endef define AutoLoad