Add kmod-nvme
This commit is contained in:
parent
90e53ad77b
commit
975f3f09fc
|
@ -28,6 +28,11 @@ make defconfig
|
|||
# Enable collectd network encryption
|
||||
echo "CONFIG_PACKAGE_COLLECTD_ENCRYPTED_NETWORK=y" >> .config
|
||||
|
||||
make package/kernel/linux/download
|
||||
cat ${pwd}/files/kmod-nvme.mk >> package/kernel/linux/modules/block.mk
|
||||
make package/kernel/linux/compile
|
||||
#make V=s package/kernel/kmod-nvme/compile
|
||||
#make V=s target/linux/compile
|
||||
make package/asterisk-chan-quectel/compile
|
||||
make package/collectd/compile
|
||||
# no signing key
|
||||
|
@ -60,6 +65,7 @@ mkdir -p files/etc/uci-defaults
|
|||
cp ${pwd}/defaults/* files/etc/uci-defaults
|
||||
|
||||
PACKAGES="kmod-nf-nathelper-extra kmod-rtc-ds1307 \
|
||||
kmod-nvme \
|
||||
kmod-usb-audio kmod-usb-net-rtl8152 \
|
||||
alsa-lib pciutils usbutils \
|
||||
kmod-usb-net-qmi-wwan libqmi qmi-utils uqmi luci-proto-qmi \
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
|
||||
define KernelPackage/nvme
|
||||
SUBMENU:=$(BLOCK_MENU)
|
||||
TITLE:=NVM Express block device
|
||||
DEPENDS:=@PCI_SUPPORT
|
||||
KCONFIG:= \
|
||||
CONFIG_NVME_CORE \
|
||||
CONFIG_BLK_DEV_NVME \
|
||||
CONFIG_NVME_MULTIPATH=n \
|
||||
CONFIG_NVME_HWMON=n
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/nvme/host/nvme-core.ko \
|
||||
$(LINUX_DIR)/drivers/nvme/host/nvme.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,nvme-core nvme)
|
||||
endef
|
||||
|
||||
define KernelPackage/nvme/description
|
||||
Kernel module for NVM Express solid state drives directly
|
||||
connected to the PCI or PCI Express bus.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nvme))
|
||||
|
Loading…
Reference in New Issue