define KernelPackage
NAME:=$(1)
+ $(eval $(call Package/Default))
$(eval $(call KernelPackage/Defaults))
$(eval $(call KernelPackage/$(1)))
$(eval $(call KernelPackage/$(1)/$(KERNEL)))
TITLE:=$(TITLE)
SECTION:=kernel
CATEGORY:=Kernel modules
- DEFAULT:=m
+ DEFAULT:=$(KMOD_DEFAULT)
DESCRIPTION:=$(DESCRIPTION)
EXTRA_DEPENDS:='kernel (=$(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE))'
$(call KernelPackage/$(1))