-
-
-define KernelPackage
- NAME:=$(1)
- $(eval $(call KernelPackage/Defaults))
- $(eval $(call KernelPackage/$(1)))
- $(eval $(call KernelPackage/$(1)/$(KERNEL)))
- $(eval $(call KernelPackage/$(1)/$(BOARD)-$(KERNEL)))
-
- define Package/kmod-$(1)
- TITLE:=$(TITLE)
- SECTION:=kernel
- CATEGORY:=Kernel modules
- DEFAULT:=m
- DESCRIPTION:=$(DESCRIPTION)
- EXTRA_DEPENDS:='kernel (=$(PKG_VERSION)-$(PKG_RELEASE))'
- $(call KernelPackage/$(1))
- $(call KernelPackage/$(1)/$(KERNEL))
- $(call KernelPackage/$(1)/$(BOARD)-$(KERNEL))
- endef