Add kmod-nvme
This commit is contained in:
parent
90e53ad77b
commit
0df5e1480b
|
@ -24,10 +24,16 @@ cat ${pwd}/feeds.conf >> feeds.conf
|
|||
./scripts/feeds update -a
|
||||
./scripts/feeds install -a
|
||||
|
||||
make clean
|
||||
make defconfig
|
||||
# Enable collectd network encryption
|
||||
echo "CONFIG_PACKAGE_COLLECTD_ENCRYPTED_NETWORK=y" >> .config
|
||||
|
||||
#make package/kernel/linux/download
|
||||
#make package/kernel/linux/clean
|
||||
cat ${pwd}/files/kmod-nvme.mk >> package/kernel/linux/modules/block.mk
|
||||
make kernel_defconfig
|
||||
make package/kernel/linux/compile
|
||||
make package/asterisk-chan-quectel/compile
|
||||
make package/collectd/compile
|
||||
# no signing key
|
||||
|
@ -60,6 +66,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 \
|
||||
|
|
23
files/kmod-nvme.mk
Normal file
23
files/kmod-nvme.mk
Normal file
|
@ -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
Block a user