include/kernel.mk: flag kmod packages as nonshared by default
authorJo-Philipp Wich <jo@mein.io>
Wed, 6 Apr 2016 20:37:58 +0000 (22:37 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 6 Apr 2016 20:37:58 +0000 (22:37 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
include/kernel.mk

index a8b0f4a1230fc5976344a7534970e1c9fff6d9a0..733369730593d11075baa45f11a8fafe639a05e9 100644 (file)
@@ -155,6 +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))
+    PKG_FLAGS:=nonshared
     $(call KernelPackage/$(1))
     $(call KernelPackage/$(1)/$(BOARD))
   endef