include: restrict separate kmod repo handling to base packages
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 24 Jan 2016 18:01:43 +0000 (18:01 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 24 Jan 2016 18:01:43 +0000 (18:01 +0000)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 48479

include/kernel.mk

index 3fa9b89..bb3c972 100644 (file)
@@ -155,7 +155,7 @@ define KernelPackage
     DESCRIPTION:=$(DESCRIPTION)
     EXTRA_DEPENDS:=kernel (=$(LINUX_VERSION)-$(LINUX_RELEASE)-$(LINUX_VERMAGIC))
     VERSION:=$(LINUX_VERSION)$(if $(PKG_VERSION),+$(PKG_VERSION))-$(if $(PKG_RELEASE),$(PKG_RELEASE),$(LINUX_RELEASE))
-    PACKAGE_SUBDIR:=kernel
+    PACKAGE_SUBDIR:=$(if $(FEED),$(FEED),kernel)
     $(call KernelPackage/$(1))
     $(call KernelPackage/$(1)/$(BOARD))
   endef