Initial commit
This commit is contained in:
66
package/kernel/linux/Makefile
Normal file
66
package/kernel/linux/Makefile
Normal file
@@ -0,0 +1,66 @@
|
||||
#
|
||||
# Copyright (C) 2006-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
PKG_NAME:=kernel
|
||||
PKG_FLAGS:=hold
|
||||
|
||||
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/packages
|
||||
SCAN_DEPS=modules/*.mk $(TOPDIR)/target/linux/*/modules.mk $(TOPDIR)/include/netfilter.mk
|
||||
|
||||
PKG_LICENSE:=GPL-2.0
|
||||
PKG_LICENSE_FILES:=
|
||||
|
||||
export SHELL:=/bin/sh
|
||||
.ONESHELL:
|
||||
.SHELLFLAGS = -ec
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
ifeq ($(DUMP),)
|
||||
STAMP_BUILT:=$(STAMP_BUILT)_$(shell $(SCRIPT_DIR)/kconfig.pl $(LINUX_DIR)/.config | mkhash md5)
|
||||
-include $(LINUX_DIR)/.config
|
||||
endif
|
||||
|
||||
define Build/Prepare
|
||||
mkdir -p $(PKG_BUILD_DIR)
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define KernelPackage/depends
|
||||
endef
|
||||
|
||||
CONFIG_PACKAGE_kernel=y
|
||||
define Package/kernel
|
||||
SECTION:=sys
|
||||
CATEGORY:=Kernel
|
||||
DEFAULT:=y
|
||||
TITLE:=Virtual kernel package
|
||||
VERSION:=$(LINUX_VERSION)-$(LINUX_RELEASE)-$(LINUX_VERMAGIC)
|
||||
URL:=http://www.kernel.org/
|
||||
PKG_FLAGS:=nonshared
|
||||
endef
|
||||
|
||||
define Package/kernel/install
|
||||
# nothing to do
|
||||
endef
|
||||
|
||||
define Package/kernel/extra_provides
|
||||
sed -e 's,.*/,,' $(LINUX_DIR)/modules.builtin;
|
||||
endef
|
||||
|
||||
$(eval $(if $(DUMP),,$(call BuildPackage,kernel)))
|
||||
|
||||
include $(sort $(wildcard ./modules/*.mk))
|
||||
-include $(TOPDIR)/target/linux/*/modules.mk
|
||||
7
package/kernel/linux/files/sysctl-br-netfilter.conf
Normal file
7
package/kernel/linux/files/sysctl-br-netfilter.conf
Normal file
@@ -0,0 +1,7 @@
|
||||
# Do not edit, changes to this file will be lost on upgrades
|
||||
# /etc/sysctl.conf can be used to customize sysctl settings
|
||||
|
||||
# disable bridge firewalling by default
|
||||
net.bridge.bridge-nf-call-arptables=0
|
||||
net.bridge.bridge-nf-call-ip6tables=0
|
||||
net.bridge.bridge-nf-call-iptables=0
|
||||
9
package/kernel/linux/files/sysctl-nf-conntrack.conf
Normal file
9
package/kernel/linux/files/sysctl-nf-conntrack.conf
Normal file
@@ -0,0 +1,9 @@
|
||||
# Do not edit, changes to this file will be lost on upgrades
|
||||
# /etc/sysctl.conf can be used to customize sysctl settings
|
||||
|
||||
net.netfilter.nf_conntrack_acct=1
|
||||
net.netfilter.nf_conntrack_checksum=0
|
||||
net.netfilter.nf_conntrack_max=16384
|
||||
net.netfilter.nf_conntrack_tcp_timeout_established=7440
|
||||
net.netfilter.nf_conntrack_udp_timeout=60
|
||||
net.netfilter.nf_conntrack_udp_timeout_stream=180
|
||||
5
package/kernel/linux/files/sysctl-tcp-bbr-k4_9.conf
Normal file
5
package/kernel/linux/files/sysctl-tcp-bbr-k4_9.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
# Do not edit, changes to this file will be lost on upgrades
|
||||
# /etc/sysctl.conf can be used to customize sysctl settings
|
||||
|
||||
net.ipv4.tcp_congestion_control=bbr
|
||||
net.core.default_qdisc=fq
|
||||
4
package/kernel/linux/files/sysctl-tcp-bbr.conf
Normal file
4
package/kernel/linux/files/sysctl-tcp-bbr.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
# Do not edit, changes to this file will be lost on upgrades
|
||||
# /etc/sysctl.conf can be used to customize sysctl settings
|
||||
|
||||
net.ipv4.tcp_congestion_control=bbr
|
||||
14
package/kernel/linux/modules/001-depends.mk
Normal file
14
package/kernel/linux/modules/001-depends.mk
Normal file
@@ -0,0 +1,14 @@
|
||||
#
|
||||
# Copyright (C) 2010-2011 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
define AddDepends/nls
|
||||
DEPENDS+= +kmod-nls-base $(foreach cp,$(1),+kmod-nls-$(cp))
|
||||
endef
|
||||
|
||||
define AddDepends/rfkill
|
||||
DEPENDS+= +USE_RFKILL:kmod-rfkill $(1)
|
||||
endef
|
||||
520
package/kernel/linux/modules/block.mk
Normal file
520
package/kernel/linux/modules/block.mk
Normal file
@@ -0,0 +1,520 @@
|
||||
#
|
||||
# Copyright (C) 2006-2012 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
BLOCK_MENU:=Block Devices
|
||||
|
||||
define KernelPackage/aoe
|
||||
SUBMENU:=$(BLOCK_MENU)
|
||||
TITLE:=ATA over Ethernet support
|
||||
KCONFIG:=CONFIG_ATA_OVER_ETH
|
||||
FILES:=$(LINUX_DIR)/drivers/block/aoe/aoe.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,aoe)
|
||||
endef
|
||||
|
||||
define KernelPackage/aoe/description
|
||||
Kernel support for ATA over Ethernet
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,aoe))
|
||||
|
||||
|
||||
define KernelPackage/ata-core
|
||||
SUBMENU:=$(BLOCK_MENU)
|
||||
TITLE:=Serial and Parallel ATA support
|
||||
DEPENDS:=@PCI_SUPPORT||TARGET_sunxi +kmod-scsi-core
|
||||
KCONFIG:=CONFIG_ATA
|
||||
FILES:=$(LINUX_DIR)/drivers/ata/libata.ko
|
||||
ifneq ($(wildcard $(LINUX_DIR)/drivers/ata/libahci.ko),)
|
||||
FILES+=$(LINUX_DIR)/drivers/ata/libahci.ko
|
||||
endif
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,ata-core))
|
||||
|
||||
|
||||
define AddDepends/ata
|
||||
SUBMENU:=$(BLOCK_MENU)
|
||||
DEPENDS+=kmod-ata-core $(1)
|
||||
endef
|
||||
|
||||
|
||||
define KernelPackage/ata-ahci
|
||||
TITLE:=AHCI Serial ATA support
|
||||
KCONFIG:=CONFIG_SATA_AHCI
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/ata/ahci.ko
|
||||
AUTOLOAD:=$(call AutoLoad,41,libahci ahci,1)
|
||||
$(call AddDepends/ata)
|
||||
endef
|
||||
|
||||
define KernelPackage/ata-ahci/description
|
||||
Support for AHCI Serial ATA controllers
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,ata-ahci))
|
||||
|
||||
|
||||
define KernelPackage/ata-ahci-platform
|
||||
TITLE:=AHCI Serial ATA Platform support
|
||||
KCONFIG:=CONFIG_SATA_AHCI_PLATFORM
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/ata/ahci_platform.ko \
|
||||
$(LINUX_DIR)/drivers/ata/libahci_platform.ko
|
||||
AUTOLOAD:=$(call AutoLoad,40,libahci libahci_platform ahci_platform,1)
|
||||
$(call AddDepends/ata,@TARGET_ipq806x||TARGET_sunxi)
|
||||
endef
|
||||
|
||||
define KernelPackage/ata-ahci-platform/description
|
||||
Platform support for AHCI Serial ATA controllers
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,ata-ahci-platform))
|
||||
|
||||
|
||||
define KernelPackage/ata-artop
|
||||
TITLE:=ARTOP 6210/6260 PATA support
|
||||
KCONFIG:=CONFIG_PATA_ARTOP
|
||||
FILES:=$(LINUX_DIR)/drivers/ata/pata_artop.ko
|
||||
AUTOLOAD:=$(call AutoLoad,41,pata_artop,1)
|
||||
$(call AddDepends/ata)
|
||||
endef
|
||||
|
||||
define KernelPackage/ata-artop/description
|
||||
PATA support for ARTOP 6210/6260 host controllers
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,ata-artop))
|
||||
|
||||
|
||||
define KernelPackage/ata-marvell-sata
|
||||
TITLE:=Marvell Serial ATA support
|
||||
KCONFIG:=CONFIG_SATA_MV
|
||||
FILES:=$(LINUX_DIR)/drivers/ata/sata_mv.ko
|
||||
AUTOLOAD:=$(call AutoLoad,41,sata_mv,1)
|
||||
$(call AddDepends/ata)
|
||||
endef
|
||||
|
||||
define KernelPackage/ata-marvell-sata/description
|
||||
SATA support for marvell chipsets
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,ata-marvell-sata))
|
||||
|
||||
|
||||
define KernelPackage/ata-nvidia-sata
|
||||
TITLE:=Nvidia Serial ATA support
|
||||
KCONFIG:=CONFIG_SATA_NV
|
||||
FILES:=$(LINUX_DIR)/drivers/ata/sata_nv.ko
|
||||
AUTOLOAD:=$(call AutoLoad,41,sata_nv,1)
|
||||
$(call AddDepends/ata)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,ata-nvidia-sata))
|
||||
|
||||
|
||||
define KernelPackage/ata-pdc202xx-old
|
||||
SUBMENU:=$(BLOCK_MENU)
|
||||
TITLE:=Older Promise PATA controller support
|
||||
DEPENDS:=kmod-ata-core
|
||||
KCONFIG:= \
|
||||
CONFIG_ATA_SFF=y \
|
||||
CONFIG_PATA_PDC_OLD
|
||||
FILES:=$(LINUX_DIR)/drivers/ata/pata_pdc202xx_old.ko
|
||||
AUTOLOAD:=$(call AutoLoad,41,pata_pdc202xx_old,1)
|
||||
endef
|
||||
|
||||
define KernelPackage/ata-pdc202xx-old/description
|
||||
This option enables support for the Promise 20246, 20262, 20263,
|
||||
20265 and 20267 adapters
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,ata-pdc202xx-old))
|
||||
|
||||
|
||||
define KernelPackage/ata-piix
|
||||
TITLE:=Intel PIIX PATA/SATA support
|
||||
KCONFIG:=CONFIG_ATA_PIIX
|
||||
FILES:=$(LINUX_DIR)/drivers/ata/ata_piix.ko
|
||||
AUTOLOAD:=$(call AutoLoad,41,ata_piix,1)
|
||||
$(call AddDepends/ata)
|
||||
endef
|
||||
|
||||
define KernelPackage/ata-piix/description
|
||||
SATA support for Intel ICH5/6/7/8 series host controllers and
|
||||
PATA support for Intel ESB/ICH/PIIX3/PIIX4 series host controllers
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,ata-piix))
|
||||
|
||||
|
||||
define KernelPackage/ata-sil
|
||||
TITLE:=Silicon Image SATA support
|
||||
KCONFIG:=CONFIG_SATA_SIL
|
||||
FILES:=$(LINUX_DIR)/drivers/ata/sata_sil.ko
|
||||
AUTOLOAD:=$(call AutoLoad,41,sata_sil,1)
|
||||
$(call AddDepends/ata)
|
||||
endef
|
||||
|
||||
define KernelPackage/ata-sil/description
|
||||
Support for Silicon Image Serial ATA controllers
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,ata-sil))
|
||||
|
||||
|
||||
define KernelPackage/ata-sil24
|
||||
TITLE:=Silicon Image 3124/3132 SATA support
|
||||
KCONFIG:=CONFIG_SATA_SIL24
|
||||
FILES:=$(LINUX_DIR)/drivers/ata/sata_sil24.ko
|
||||
AUTOLOAD:=$(call AutoLoad,41,sata_sil24,1)
|
||||
$(call AddDepends/ata)
|
||||
endef
|
||||
|
||||
define KernelPackage/ata-sil24/description
|
||||
Support for Silicon Image 3124/3132 Serial ATA controllers
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,ata-sil24))
|
||||
|
||||
|
||||
define KernelPackage/ata-via-sata
|
||||
TITLE:=VIA SATA support
|
||||
KCONFIG:=CONFIG_SATA_VIA
|
||||
FILES:=$(LINUX_DIR)/drivers/ata/sata_via.ko
|
||||
AUTOLOAD:=$(call AutoLoad,41,sata_via,1)
|
||||
$(call AddDepends/ata)
|
||||
endef
|
||||
|
||||
define KernelPackage/ata-via-sata/description
|
||||
This option enables support for VIA Serial ATA
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,ata-via-sata))
|
||||
|
||||
|
||||
define KernelPackage/block2mtd
|
||||
SUBMENU:=$(BLOCK_MENU)
|
||||
TITLE:=Block device MTD emulation
|
||||
KCONFIG:=CONFIG_MTD_BLOCK2MTD
|
||||
FILES:=$(LINUX_DIR)/drivers/mtd/devices/block2mtd.ko
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,block2mtd))
|
||||
|
||||
|
||||
define KernelPackage/dax
|
||||
SUBMENU:=$(BLOCK_MENU)
|
||||
TITLE:=DAX: direct access to differentiated memory
|
||||
KCONFIG:=CONFIG_DAX
|
||||
FILES:=$(LINUX_DIR)/drivers/dax/dax.ko
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,dax))
|
||||
|
||||
|
||||
define KernelPackage/dm
|
||||
SUBMENU:=$(BLOCK_MENU)
|
||||
TITLE:=Device Mapper
|
||||
DEPENDS:=+kmod-crypto-manager +kmod-dax
|
||||
# All the "=n" are unnecessary, they're only there
|
||||
# to stop the config from asking the question.
|
||||
# MIRROR is M because I've needed it for pvmove.
|
||||
KCONFIG:= \
|
||||
CONFIG_BLK_DEV_MD=n \
|
||||
CONFIG_DM_DEBUG=n \
|
||||
CONFIG_DM_UEVENT=n \
|
||||
CONFIG_DM_DELAY=n \
|
||||
CONFIG_DM_LOG_WRITES=n \
|
||||
CONFIG_DM_MQ_DEFAULT=n \
|
||||
CONFIG_DM_MULTIPATH=n \
|
||||
CONFIG_DM_ZERO=n \
|
||||
CONFIG_DM_SNAPSHOT=n \
|
||||
CONFIG_DM_LOG_USERSPACE=n \
|
||||
CONFIG_MD=y \
|
||||
CONFIG_BLK_DEV_DM \
|
||||
CONFIG_DM_CRYPT \
|
||||
CONFIG_DM_MIRROR
|
||||
FILES:=$(LINUX_DIR)/drivers/md/dm-*.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,dm-mod dm-log dm-region-hash dm-mirror dm-crypt)
|
||||
endef
|
||||
|
||||
define KernelPackage/dm/description
|
||||
Kernel module necessary for LVM2 support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,dm))
|
||||
|
||||
|
||||
define KernelPackage/md-mod
|
||||
SUBMENU:=$(BLOCK_MENU)
|
||||
TITLE:=MD RAID
|
||||
KCONFIG:= \
|
||||
CONFIG_MD=y \
|
||||
CONFIG_BLK_DEV_MD=m \
|
||||
CONFIG_MD_AUTODETECT=y \
|
||||
CONFIG_MD_FAULTY=n
|
||||
FILES:=$(LINUX_DIR)/drivers/md/md-mod.ko
|
||||
AUTOLOAD:=$(call AutoLoad,27,md-mod)
|
||||
endef
|
||||
|
||||
define KernelPackage/md-mod/description
|
||||
Kernel RAID md module (md-mod.ko).
|
||||
You will need to select at least one RAID level module below.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,md-mod))
|
||||
|
||||
|
||||
define KernelPackage/md/Depends
|
||||
SUBMENU:=$(BLOCK_MENU)
|
||||
DEPENDS:=kmod-md-mod $(1)
|
||||
endef
|
||||
|
||||
|
||||
define KernelPackage/md-linear
|
||||
$(call KernelPackage/md/Depends,)
|
||||
TITLE:=RAID Linear Module
|
||||
KCONFIG:=CONFIG_MD_LINEAR
|
||||
FILES:=$(LINUX_DIR)/drivers/md/linear.ko
|
||||
AUTOLOAD:=$(call AutoLoad,28,linear)
|
||||
endef
|
||||
|
||||
define KernelPackage/md-linear/description
|
||||
RAID "Linear" or "Append" driver module (linear.ko)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,md-linear))
|
||||
|
||||
|
||||
define KernelPackage/md-raid0
|
||||
$(call KernelPackage/md/Depends,)
|
||||
TITLE:=RAID0 Module
|
||||
KCONFIG:=CONFIG_MD_RAID0
|
||||
FILES:=$(LINUX_DIR)/drivers/md/raid0.ko
|
||||
AUTOLOAD:=$(call AutoLoad,28,raid0)
|
||||
endef
|
||||
|
||||
define KernelPackage/md-raid0/description
|
||||
RAID Level 0 (Striping) driver module (raid0.ko)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,md-raid0))
|
||||
|
||||
|
||||
define KernelPackage/md-raid1
|
||||
$(call KernelPackage/md/Depends,)
|
||||
TITLE:=RAID1 Module
|
||||
KCONFIG:=CONFIG_MD_RAID1
|
||||
FILES:=$(LINUX_DIR)/drivers/md/raid1.ko
|
||||
AUTOLOAD:=$(call AutoLoad,28,raid1)
|
||||
endef
|
||||
|
||||
define KernelPackage/md-raid1/description
|
||||
RAID Level 1 (Mirroring) driver (raid1.ko)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,md-raid1))
|
||||
|
||||
|
||||
define KernelPackage/md-raid10
|
||||
$(call KernelPackage/md/Depends,)
|
||||
TITLE:=RAID10 Module
|
||||
KCONFIG:=CONFIG_MD_RAID10
|
||||
FILES:=$(LINUX_DIR)/drivers/md/raid10.ko
|
||||
AUTOLOAD:=$(call AutoLoad,28,raid10)
|
||||
endef
|
||||
|
||||
define KernelPackage/md-raid10/description
|
||||
RAID Level 10 (Mirroring+Striping) driver module (raid10.ko)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,md-raid10))
|
||||
|
||||
|
||||
define KernelPackage/md-raid456
|
||||
$(call KernelPackage/md/Depends,+kmod-lib-raid6 +kmod-lib-xor +kmod-lib-crc32c)
|
||||
TITLE:=RAID Level 456 Driver
|
||||
KCONFIG:= \
|
||||
CONFIG_ASYNC_CORE \
|
||||
CONFIG_ASYNC_MEMCPY \
|
||||
CONFIG_ASYNC_XOR \
|
||||
CONFIG_ASYNC_PQ \
|
||||
CONFIG_ASYNC_RAID6_RECOV \
|
||||
CONFIG_ASYNC_RAID6_TEST=n \
|
||||
CONFIG_MD_RAID456 \
|
||||
CONFIG_MULTICORE_RAID456=n
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/crypto/async_tx/async_tx.ko \
|
||||
$(LINUX_DIR)/crypto/async_tx/async_memcpy.ko \
|
||||
$(LINUX_DIR)/crypto/async_tx/async_xor.ko \
|
||||
$(LINUX_DIR)/crypto/async_tx/async_pq.ko \
|
||||
$(LINUX_DIR)/crypto/async_tx/async_raid6_recov.ko \
|
||||
$(LINUX_DIR)/drivers/md/raid456.ko
|
||||
AUTOLOAD:=$(call AutoLoad,28, async_tx async_memcpy async_xor async_pq async_raid6_recov raid456)
|
||||
endef
|
||||
|
||||
define KernelPackage/md-raid456/description
|
||||
RAID Level 4,5,6 kernel module (raid456.ko)
|
||||
|
||||
Includes the following modules required by
|
||||
raid456.ko:
|
||||
xor.ko
|
||||
async_tx.ko
|
||||
async_xor.ko
|
||||
async_memcpy.ko
|
||||
async_pq.ko
|
||||
async_raid5_recov.ko
|
||||
raid6_pq.ko
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,md-raid456))
|
||||
|
||||
|
||||
define KernelPackage/md-multipath
|
||||
$(call KernelPackage/md/Depends,)
|
||||
TITLE:=MD Multipath Module
|
||||
KCONFIG:=CONFIG_MD_MULTIPATH
|
||||
FILES:=$(LINUX_DIR)/drivers/md/multipath.ko
|
||||
AUTOLOAD:=$(call AutoLoad,29,multipath)
|
||||
endef
|
||||
|
||||
define KernelPackage/md-multipath/description
|
||||
Multipath driver module (multipath.ko)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,md-multipath))
|
||||
|
||||
|
||||
define KernelPackage/libsas
|
||||
SUBMENU:=$(BLOCK_MENU)
|
||||
DEPENDS:=@TARGET_x86
|
||||
TITLE:=SAS Domain Transport Attributes
|
||||
KCONFIG:=CONFIG_SCSI_SAS_LIBSAS \
|
||||
CONFIG_SCSI_SAS_ATTRS \
|
||||
CONFIG_SCSI_SAS_ATA=y \
|
||||
CONFIG_SCSI_SAS_HOST_SMP=y \
|
||||
CONFIG_SCSI_SAS_LIBSAS_DEBUG=y
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/scsi/scsi_transport_sas.ko \
|
||||
$(LINUX_DIR)/drivers/scsi/libsas/libsas.ko
|
||||
AUTOLOAD:=$(call AutoLoad,29,scsi_transport_sas libsas,1)
|
||||
endef
|
||||
|
||||
define KernelPackage/libsas/description
|
||||
SAS Domain Transport Attributes support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,libsas,1))
|
||||
|
||||
|
||||
define KernelPackage/loop
|
||||
SUBMENU:=$(BLOCK_MENU)
|
||||
TITLE:=Loopback device support
|
||||
KCONFIG:= \
|
||||
CONFIG_BLK_DEV_LOOP \
|
||||
CONFIG_BLK_DEV_CRYPTOLOOP=n
|
||||
FILES:=$(LINUX_DIR)/drivers/block/loop.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,loop)
|
||||
endef
|
||||
|
||||
define KernelPackage/loop/description
|
||||
Kernel module for loopback device support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,loop))
|
||||
|
||||
|
||||
define KernelPackage/mvsas
|
||||
SUBMENU:=$(BLOCK_MENU)
|
||||
TITLE:=Marvell 88SE6440 SAS/SATA driver
|
||||
DEPENDS:=@TARGET_x86 +kmod-libsas
|
||||
KCONFIG:= \
|
||||
CONFIG_SCSI_MVSAS \
|
||||
CONFIG_SCSI_MVSAS_TASKLET=n
|
||||
FILES:=$(LINUX_DIR)/drivers/scsi/mvsas/mvsas.ko
|
||||
AUTOLOAD:=$(call AutoLoad,40,mvsas,1)
|
||||
endef
|
||||
|
||||
define KernelPackage/mvsas/description
|
||||
Kernel support for the Marvell SAS SCSI adapters
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,mvsas))
|
||||
|
||||
|
||||
define KernelPackage/nbd
|
||||
SUBMENU:=$(BLOCK_MENU)
|
||||
TITLE:=Network block device support
|
||||
KCONFIG:=CONFIG_BLK_DEV_NBD
|
||||
FILES:=$(LINUX_DIR)/drivers/block/nbd.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,nbd)
|
||||
endef
|
||||
|
||||
define KernelPackage/nbd/description
|
||||
Kernel module for network block device support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nbd))
|
||||
|
||||
|
||||
define KernelPackage/scsi-core
|
||||
SUBMENU:=$(BLOCK_MENU)
|
||||
TITLE:=SCSI device support
|
||||
KCONFIG:= \
|
||||
CONFIG_SCSI \
|
||||
CONFIG_BLK_DEV_SD
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/scsi/scsi_mod.ko \
|
||||
$(LINUX_DIR)/drivers/scsi/sd_mod.ko
|
||||
AUTOLOAD:=$(call AutoLoad,40,scsi_mod sd_mod,1)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,scsi-core))
|
||||
|
||||
|
||||
define KernelPackage/scsi-generic
|
||||
SUBMENU:=$(BLOCK_MENU)
|
||||
TITLE:=Kernel support for SCSI generic
|
||||
DEPENDS:=+kmod-scsi-core
|
||||
KCONFIG:= \
|
||||
CONFIG_CHR_DEV_SG
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/scsi/sg.ko
|
||||
AUTOLOAD:=$(call AutoLoad,65,sg)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,scsi-generic))
|
||||
|
||||
|
||||
define KernelPackage/scsi-cdrom
|
||||
SUBMENU:=$(BLOCK_MENU)
|
||||
TITLE:=Kernel support for CD / DVD drives
|
||||
DEPENDS:=+kmod-scsi-core
|
||||
KCONFIG:= \
|
||||
CONFIG_BLK_DEV_SR \
|
||||
CONFIG_BLK_DEV_SR_VENDOR=n
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/cdrom/cdrom.ko \
|
||||
$(LINUX_DIR)/drivers/scsi/sr_mod.ko
|
||||
AUTOLOAD:=$(call AutoLoad,45,sr_mod)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,scsi-cdrom))
|
||||
|
||||
|
||||
define KernelPackage/scsi-tape
|
||||
SUBMENU:=$(BLOCK_MENU)
|
||||
TITLE:=Kernel support for scsi tape drives
|
||||
DEPENDS:=+kmod-scsi-core
|
||||
KCONFIG:= \
|
||||
CONFIG_CHR_DEV_ST
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/scsi/st.ko
|
||||
AUTOLOAD:=$(call AutoLoad,45,st)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,scsi-tape))
|
||||
292
package/kernel/linux/modules/can.mk
Normal file
292
package/kernel/linux/modules/can.mk
Normal file
@@ -0,0 +1,292 @@
|
||||
#
|
||||
# Copyright (C) 2013 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
CAN_MENU:=CAN Support
|
||||
|
||||
define KernelPackage/can
|
||||
SUBMENU:=$(CAN_MENU)
|
||||
TITLE:=CAN bus support
|
||||
KCONFIG:=\
|
||||
CONFIG_CAN=m \
|
||||
CONFIG_CAN_DEV \
|
||||
CONFIG_CAN_CALC_BITTIMING=y \
|
||||
CONFIG_CAN_LEDS=y \
|
||||
CONFIG_CAN_AT91=n \
|
||||
CONFIG_CAN_TI_HECC=n \
|
||||
CONFIG_CAN_MCP251X=n \
|
||||
CONFIG_CAN_BFIN=n \
|
||||
CONFIG_CAN_JANZ_ICAN3=n \
|
||||
CONFIG_PCH_CAN=n \
|
||||
CONFIG_CAN_GRCAN=n \
|
||||
CONFIG_CAN_CC770=n \
|
||||
CONFIG_CAN_MSCAN=n \
|
||||
CONFIG_CAN_SJA1000=n \
|
||||
CONFIG_CAN_SOFTING=n \
|
||||
CONFIG_NET_EMATCH_CANID=n \
|
||||
CONFIG_CAN_DEBUG_DEVICES=n
|
||||
FILES:=$(LINUX_DIR)/drivers/net/can/can-dev.ko \
|
||||
$(LINUX_DIR)/net/can/can.ko
|
||||
AUTOLOAD:=$(call AutoProbe,can can-dev)
|
||||
endef
|
||||
|
||||
define KernelPackage/can/description
|
||||
Kernel module for CAN bus support.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,can))
|
||||
|
||||
|
||||
define AddDepends/can
|
||||
SUBMENU:=$(CAN_MENU)
|
||||
DEPENDS+=kmod-can $(1)
|
||||
endef
|
||||
|
||||
|
||||
define KernelPackage/can-bcm
|
||||
TITLE:=Broadcast Manager CAN Protcol
|
||||
KCONFIG:=CONFIG_CAN_BCM
|
||||
FILES:=$(LINUX_DIR)/net/can/can-bcm.ko
|
||||
AUTOLOAD:=$(call AutoProbe,can-bcm)
|
||||
$(call AddDepends/can)
|
||||
endef
|
||||
|
||||
define KernelPackage/can-bcm/description
|
||||
The Broadcast Manager offers content filtering, timeout monitoring,
|
||||
sending of RTR frames, and cyclic CAN messages without permanent user
|
||||
interaction.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,can-bcm))
|
||||
|
||||
|
||||
define KernelPackage/can-c-can
|
||||
TITLE:=BOSCH C_CAN/D_CAN drivers
|
||||
KCONFIG:=CONFIG_CAN_C_CAN
|
||||
FILES:=$(LINUX_DIR)/drivers/net/can/c_can/c_can.ko
|
||||
AUTOLOAD:=$(call AutoProbe,c_can)
|
||||
$(call AddDepends/can)
|
||||
endef
|
||||
|
||||
define KernelPackage/can-c-can/description
|
||||
This driver adds generic support for the C_CAN/D_CAN chips.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,can-c-can))
|
||||
|
||||
|
||||
define KernelPackage/can-c-can-pci
|
||||
TITLE:=PCI Bus based BOSCH C_CAN/D_CAN driver
|
||||
KCONFIG:=CONFIG_CAN_C_CAN_PCI
|
||||
DEPENDS:=kmod-can-c-can @PCI_SUPPORT
|
||||
FILES:=$(LINUX_DIR)/drivers/net/can/c_can/c_can_pci.ko
|
||||
AUTOLOAD:=$(call AutoProbe,c_can_pci)
|
||||
$(call AddDepends/can)
|
||||
endef
|
||||
|
||||
define KernelPackage/can-c-can-pci/description
|
||||
This driver adds support for the C_CAN/D_CAN chips connected
|
||||
to the PCI bus.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,can-c-can-pci))
|
||||
|
||||
|
||||
define KernelPackage/can-c-can-platform
|
||||
TITLE:=Platform Bus based BOSCH C_CAN/D_CAN driver
|
||||
KCONFIG:=CONFIG_CAN_C_CAN_PLATFORM
|
||||
DEPENDS:=kmod-can-c-can +kmod-regmap-core
|
||||
FILES:=$(LINUX_DIR)/drivers/net/can/c_can/c_can_platform.ko
|
||||
AUTOLOAD:=$(call AutoProbe,c_can_platform)
|
||||
$(call AddDepends/can)
|
||||
endef
|
||||
|
||||
define KernelPackage/can-c-can-platform/description
|
||||
This driver adds support for the C_CAN/D_CAN chips connected
|
||||
to the "platform bus" (Linux abstraction for directly to the
|
||||
processor attached devices) which can be found on various
|
||||
boards from ST Microelectronics (http://www.st.com) like the
|
||||
SPEAr1310 and SPEAr320 evaluation boards & TI (www.ti.com)
|
||||
boards like am335x, dm814x, dm813x and dm811x.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,can-c-can-platform))
|
||||
|
||||
|
||||
define KernelPackage/can-flexcan
|
||||
TITLE:=Support for Freescale FLEXCAN based chips
|
||||
KCONFIG:=CONFIG_CAN_FLEXCAN
|
||||
FILES:=$(LINUX_DIR)/drivers/net/can/flexcan.ko
|
||||
AUTOLOAD:=$(call AutoProbe,flexcan)
|
||||
$(call AddDepends/can,@TARGET_imx6)
|
||||
endef
|
||||
|
||||
define KernelPackage/can-flexcan/description
|
||||
Freescale FLEXCAN CAN bus controller implementation.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,can-flexcan))
|
||||
|
||||
|
||||
define KernelPackage/can-gw
|
||||
TITLE:=CAN Gateway/Router
|
||||
KCONFIG:=CONFIG_CAN_GW
|
||||
FILES:=$(LINUX_DIR)/net/can/can-gw.ko
|
||||
AUTOLOAD:=$(call AutoProbe,can-gw)
|
||||
$(call AddDepends/can)
|
||||
endef
|
||||
|
||||
define KernelPackage/can-gw/description
|
||||
The CAN Gateway/Router is used to route (and modify) CAN frames.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,can-gw))
|
||||
|
||||
|
||||
define KernelPackage/can-raw
|
||||
TITLE:=Raw CAN Protcol
|
||||
KCONFIG:=CONFIG_CAN_RAW
|
||||
FILES:=$(LINUX_DIR)/net/can/can-raw.ko
|
||||
AUTOLOAD:=$(call AutoProbe,can-raw)
|
||||
$(call AddDepends/can)
|
||||
endef
|
||||
|
||||
define KernelPackage/can-raw/description
|
||||
The raw CAN protocol option offers access to the CAN bus via
|
||||
the BSD socket API.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,can-raw))
|
||||
|
||||
|
||||
define KernelPackage/can-slcan
|
||||
TITLE:=Serial / USB serial CAN Adaptors (slcan)
|
||||
KCONFIG:=CONFIG_CAN_SLCAN
|
||||
FILES:=$(LINUX_DIR)/drivers/net/can/slcan.ko
|
||||
AUTOLOAD:=$(call AutoProbe,slcan)
|
||||
$(call AddDepends/can)
|
||||
endef
|
||||
|
||||
define KernelPackage/can-slcan/description
|
||||
CAN driver for several 'low cost' CAN interfaces that are attached
|
||||
via serial lines or via USB-to-serial adapters using the LAWICEL
|
||||
ASCII protocol.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,can-slcan))
|
||||
|
||||
|
||||
define KernelPackage/can-usb-8dev
|
||||
TITLE:=8 devices USB2CAN interface
|
||||
KCONFIG:=CONFIG_CAN_8DEV_USB
|
||||
FILES:=$(LINUX_DIR)/drivers/net/can/usb/usb_8dev.ko
|
||||
AUTOLOAD:=$(call AutoProbe,usb_8dev)
|
||||
$(call AddDepends/can,+kmod-usb-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/can-usb-8dev/description
|
||||
This driver supports the USB2CAN interface
|
||||
from 8 devices (http://www.8devices.com).
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,can-usb-8dev))
|
||||
|
||||
|
||||
define KernelPackage/can-usb-ems
|
||||
TITLE:=EMS CPC-USB/ARM7 CAN/USB interface
|
||||
KCONFIG:=CONFIG_CAN_EMS_USB
|
||||
FILES:=$(LINUX_DIR)/drivers/net/can/usb/ems_usb.ko
|
||||
AUTOLOAD:=$(call AutoProbe,ems_usb)
|
||||
$(call AddDepends/can,+kmod-usb-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/can-usb-ems/description
|
||||
This driver is for the one channel CPC-USB/ARM7 CAN/USB interface
|
||||
from EMS Dr. Thomas Wuensche (http://www.ems-wuensche.de).
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,can-usb-ems))
|
||||
|
||||
|
||||
define KernelPackage/can-usb-esd
|
||||
TITLE:=ESD USB/2 CAN/USB interface
|
||||
KCONFIG:=CONFIG_CAN_ESD_USB2
|
||||
FILES:=$(LINUX_DIR)/drivers/net/can/usb/esd_usb2.ko
|
||||
AUTOLOAD:=$(call AutoProbe,esd_usb2)
|
||||
$(call AddDepends/can,+kmod-usb-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/can-usb-esd/description
|
||||
This driver supports the CAN-USB/2 interface
|
||||
from esd electronic system design gmbh (http://www.esd.eu).
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,can-usb-esd))
|
||||
|
||||
|
||||
define KernelPackage/can-usb-kvaser
|
||||
TITLE:=Kvaser CAN/USB interface
|
||||
KCONFIG:=CONFIG_CAN_KVASER_USB
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/net/can/usb/kvaser_usb.ko@lt4.19 \
|
||||
$(LINUX_DIR)/drivers/net/can/usb/kvaser_usb/kvaser_usb.ko@ge4.19
|
||||
AUTOLOAD:=$(call AutoProbe,kvaser_usb)
|
||||
$(call AddDepends/can,+kmod-usb-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/can-usb-kvaser/description
|
||||
This driver adds support for Kvaser CAN/USB devices like Kvaser
|
||||
Leaf Light.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,can-usb-kvaser))
|
||||
|
||||
|
||||
define KernelPackage/can-usb-peak
|
||||
TITLE:=PEAK PCAN-USB/USB Pro interfaces
|
||||
KCONFIG:=CONFIG_CAN_PEAK_USB
|
||||
FILES:=$(LINUX_DIR)/drivers/net/can/usb/peak_usb/peak_usb.ko
|
||||
AUTOLOAD:=$(call AutoProbe,peak_usb)
|
||||
$(call AddDepends/can,+kmod-usb-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/can-usb-peak/description
|
||||
This driver supports the PCAN-USB and PCAN-USB Pro adapters
|
||||
from PEAK-System Technik (http://www.peak-system.com).
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,can-usb-peak))
|
||||
|
||||
|
||||
define KernelPackage/can-vcan
|
||||
TITLE:=Virtual Local CAN Interface (vcan)
|
||||
KCONFIG:=CONFIG_CAN_VCAN
|
||||
FILES:=$(LINUX_DIR)/drivers/net/can/vcan.ko
|
||||
AUTOLOAD:=$(call AutoProbe,vcan)
|
||||
$(call AddDepends/can)
|
||||
endef
|
||||
|
||||
define KernelPackage/can-vcan/description
|
||||
Similar to the network loopback devices, vcan offers a
|
||||
virtual local CAN interface.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,can-vcan))
|
||||
|
||||
define KernelPackage/can-xilinx-can
|
||||
TITLE:=Xilinx CAN IP
|
||||
KCONFIG:=CONFIG_CAN_XILINXCAN
|
||||
FILES:=$(LINUX_DIR)/drivers/net/can/xilinx_can.ko
|
||||
AUTOLOAD:=$(call AutoProbe,xilinx_can)
|
||||
$(call AddDepends/can,@TARGET_zynq)
|
||||
endef
|
||||
|
||||
define KernelPackage/can-xilinx-can/description
|
||||
Xilinx CAN driver. This driver supports both
|
||||
soft AXI CAN IP and Zynq CANPS IP.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,can-xilinx-can))
|
||||
769
package/kernel/linux/modules/crypto.mk
Normal file
769
package/kernel/linux/modules/crypto.mk
Normal file
@@ -0,0 +1,769 @@
|
||||
#
|
||||
# Copyright (C) 2006-2011 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
CRYPTO_MENU:=Cryptographic API modules
|
||||
|
||||
CRYPTO_MODULES = \
|
||||
ALGAPI2=crypto_algapi \
|
||||
BLKCIPHER2=crypto_blkcipher
|
||||
|
||||
crypto_confvar=CONFIG_CRYPTO_$(word 1,$(subst =,$(space),$(1)))
|
||||
crypto_file=$(LINUX_DIR)/crypto/$(word 2,$(subst =,$(space),$(1))).ko
|
||||
crypto_name=$(if $(findstring y,$($(call crypto_confvar,$(1)))),,$(word 2,$(subst =,$(space),$(1))))
|
||||
|
||||
define AddDepends/crypto
|
||||
SUBMENU:=$(CRYPTO_MENU)
|
||||
DEPENDS+= $(1)
|
||||
endef
|
||||
|
||||
|
||||
define KernelPackage/crypto-acompress
|
||||
TITLE:=Asynchronous Compression operations
|
||||
HIDDEN:=1
|
||||
KCONFIG:=CONFIG_CRYPTO_ACOMP2
|
||||
FILES:=$(LINUX_DIR)/crypto/crypto_acompress.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,crypto_acompress)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-acompress))
|
||||
|
||||
|
||||
define KernelPackage/crypto-aead
|
||||
TITLE:=CryptoAPI AEAD support
|
||||
KCONFIG:= \
|
||||
CONFIG_CRYPTO_AEAD \
|
||||
CONFIG_CRYPTO_AEAD2
|
||||
FILES:=$(LINUX_DIR)/crypto/aead.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,aead,1)
|
||||
$(call AddDepends/crypto, +kmod-crypto-null)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-aead))
|
||||
|
||||
|
||||
define KernelPackage/crypto-authenc
|
||||
TITLE:=Combined mode wrapper for IPsec
|
||||
DEPENDS:=+kmod-crypto-manager +kmod-crypto-null
|
||||
KCONFIG:=CONFIG_CRYPTO_AUTHENC
|
||||
FILES:=$(LINUX_DIR)/crypto/authenc.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,authenc)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-authenc))
|
||||
|
||||
|
||||
define KernelPackage/crypto-cbc
|
||||
TITLE:=Cipher Block Chaining CryptoAPI module
|
||||
DEPENDS:=+kmod-crypto-manager
|
||||
KCONFIG:=CONFIG_CRYPTO_CBC
|
||||
FILES:=$(LINUX_DIR)/crypto/cbc.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,cbc)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-cbc))
|
||||
|
||||
|
||||
define KernelPackage/crypto-ccm
|
||||
TITLE:=Support for Counter with CBC MAC (CCM)
|
||||
DEPENDS:=+kmod-crypto-ctr +kmod-crypto-aead
|
||||
KCONFIG:=CONFIG_CRYPTO_CCM
|
||||
FILES:=$(LINUX_DIR)/crypto/ccm.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,ccm)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-ccm))
|
||||
|
||||
|
||||
define KernelPackage/crypto-cmac
|
||||
TITLE:=Support for Cipher-based Message Authentication Code (CMAC)
|
||||
DEPENDS:=+kmod-crypto-hash
|
||||
KCONFIG:=CONFIG_CRYPTO_CMAC
|
||||
FILES:=$(LINUX_DIR)/crypto/cmac.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,cmac)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-cmac))
|
||||
|
||||
|
||||
define KernelPackage/crypto-crc32
|
||||
TITLE:=CRC32 CRC module
|
||||
DEPENDS:=+kmod-crypto-hash
|
||||
KCONFIG:=CONFIG_CRYPTO_CRC32
|
||||
HIDDEN:=1
|
||||
FILES:=$(LINUX_DIR)/crypto/crc32_generic.ko@ge4.9
|
||||
AUTOLOAD:=$(call AutoLoad,04,crc32_generic@ge4.9,1)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-crc32))
|
||||
|
||||
|
||||
define KernelPackage/crypto-crc32c
|
||||
TITLE:=CRC32c CRC module
|
||||
DEPENDS:=+kmod-crypto-hash
|
||||
KCONFIG:=CONFIG_CRYPTO_CRC32C
|
||||
FILES:=$(LINUX_DIR)/crypto/crc32c_generic.ko
|
||||
AUTOLOAD:=$(call AutoLoad,04,crc32c_generic,1)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-crc32c))
|
||||
|
||||
|
||||
define KernelPackage/crypto-ctr
|
||||
TITLE:=Counter Mode CryptoAPI module
|
||||
DEPENDS:=+kmod-crypto-manager +kmod-crypto-seqiv +kmod-crypto-iv
|
||||
KCONFIG:=CONFIG_CRYPTO_CTR
|
||||
FILES:=$(LINUX_DIR)/crypto/ctr.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,ctr)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-ctr))
|
||||
|
||||
|
||||
define KernelPackage/crypto-cts
|
||||
TITLE:=Cipher Text Stealing CryptoAPI module
|
||||
DEPENDS:=+kmod-crypto-manager
|
||||
KCONFIG:=CONFIG_CRYPTO_CTS
|
||||
FILES:=$(LINUX_DIR)/crypto/cts.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,cts)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-cts))
|
||||
|
||||
|
||||
define KernelPackage/crypto-deflate
|
||||
TITLE:=Deflate compression CryptoAPI module
|
||||
DEPENDS:=+kmod-lib-zlib-inflate +kmod-lib-zlib-deflate +!LINUX_4_9:kmod-crypto-acompress
|
||||
KCONFIG:=CONFIG_CRYPTO_DEFLATE
|
||||
FILES:=$(LINUX_DIR)/crypto/deflate.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,deflate)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-deflate))
|
||||
|
||||
|
||||
define KernelPackage/crypto-des
|
||||
TITLE:=DES/3DES cipher CryptoAPI module
|
||||
KCONFIG:=CONFIG_CRYPTO_DES
|
||||
FILES:=$(LINUX_DIR)/crypto/des_generic.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,des_generic)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-des))
|
||||
|
||||
|
||||
define KernelPackage/crypto-ecb
|
||||
TITLE:=Electronic CodeBook CryptoAPI module
|
||||
DEPENDS:=+kmod-crypto-manager
|
||||
KCONFIG:=CONFIG_CRYPTO_ECB
|
||||
FILES:=$(LINUX_DIR)/crypto/ecb.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,ecb)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-ecb))
|
||||
|
||||
|
||||
define KernelPackage/crypto-ecdh
|
||||
TITLE:=ECDH algorithm
|
||||
DEPENDS:=+kmod-crypto-kpp
|
||||
KCONFIG:= CONFIG_CRYPTO_ECDH
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/crypto/ecdh_generic.ko
|
||||
AUTOLOAD:=$(call AutoLoad,10,ecdh_generic)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-ecdh))
|
||||
|
||||
|
||||
define KernelPackage/crypto-echainiv
|
||||
TITLE:=Encrypted Chain IV Generator
|
||||
DEPENDS:=+kmod-crypto-aead
|
||||
KCONFIG:=CONFIG_CRYPTO_ECHAINIV
|
||||
FILES:=$(LINUX_DIR)/crypto/echainiv.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,echainiv)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-echainiv))
|
||||
|
||||
|
||||
define KernelPackage/crypto-fcrypt
|
||||
TITLE:=FCRYPT cipher CryptoAPI module
|
||||
KCONFIG:=CONFIG_CRYPTO_FCRYPT
|
||||
FILES:=$(LINUX_DIR)/crypto/fcrypt.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,fcrypt)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-fcrypt))
|
||||
|
||||
|
||||
define KernelPackage/crypto-gcm
|
||||
TITLE:=GCM/GMAC CryptoAPI module
|
||||
DEPENDS:=+kmod-crypto-ctr +kmod-crypto-ghash +kmod-crypto-null
|
||||
KCONFIG:=CONFIG_CRYPTO_GCM
|
||||
FILES:=$(LINUX_DIR)/crypto/gcm.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,gcm)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-gcm))
|
||||
|
||||
|
||||
define KernelPackage/crypto-xcbc
|
||||
TITLE:=XCBC CryptoAPI module
|
||||
DEPENDS:=+kmod-crypto-hash +kmod-crypto-manager
|
||||
KCONFIG:=CONFIG_CRYPTO_XCBC
|
||||
FILES:=$(LINUX_DIR)/crypto/xcbc.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,xcbc)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-xcbc))
|
||||
|
||||
|
||||
define KernelPackage/crypto-gf128
|
||||
TITLE:=GF(2^128) multiplication functions CryptoAPI module
|
||||
KCONFIG:=CONFIG_CRYPTO_GF128MUL
|
||||
FILES:=$(LINUX_DIR)/crypto/gf128mul.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,gf128mul)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-gf128))
|
||||
|
||||
|
||||
define KernelPackage/crypto-ghash
|
||||
TITLE:=GHASH digest CryptoAPI module
|
||||
DEPENDS:=+kmod-crypto-gf128 +kmod-crypto-hash
|
||||
KCONFIG:=CONFIG_CRYPTO_GHASH
|
||||
FILES:=$(LINUX_DIR)/crypto/ghash-generic.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,ghash-generic)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-ghash))
|
||||
|
||||
|
||||
define KernelPackage/crypto-hash
|
||||
TITLE:=CryptoAPI hash support
|
||||
KCONFIG:=CONFIG_CRYPTO_HASH
|
||||
FILES:=$(LINUX_DIR)/crypto/crypto_hash.ko
|
||||
AUTOLOAD:=$(call AutoLoad,02,crypto_hash,1)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-hash))
|
||||
|
||||
|
||||
define KernelPackage/crypto-hmac
|
||||
TITLE:=HMAC digest CryptoAPI module
|
||||
DEPENDS:=+kmod-crypto-hash +kmod-crypto-manager
|
||||
KCONFIG:=CONFIG_CRYPTO_HMAC
|
||||
FILES:=$(LINUX_DIR)/crypto/hmac.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,hmac)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-hmac))
|
||||
|
||||
|
||||
define KernelPackage/crypto-hw-ccp
|
||||
TITLE:=AMD Cryptographic Coprocessor
|
||||
DEPENDS:=+kmod-crypto-authenc +kmod-crypto-hash +kmod-crypto-manager +kmod-random-core +kmod-crypto-sha1 +kmod-crypto-sha256 +!LINUX_4_9:kmod-crypto-rsa
|
||||
KCONFIG:= \
|
||||
CONFIG_CRYPTO_HW=y \
|
||||
CONFIG_CRYPTO_DEV_CCP=y \
|
||||
CONFIG_CRYPTO_DEV_CCP_CRYPTO \
|
||||
CONFIG_CRYPTO_DEV_CCP_DD \
|
||||
CONFIG_CRYPTO_DEV_SP_CCP=y
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/crypto/ccp/ccp.ko \
|
||||
$(LINUX_DIR)/drivers/crypto/ccp/ccp-crypto.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,ccp ccp-crypto)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-hw-ccp))
|
||||
|
||||
|
||||
define KernelPackage/crypto-hw-geode
|
||||
TITLE:=AMD Geode hardware crypto module
|
||||
DEPENDS:=+kmod-crypto-manager
|
||||
KCONFIG:= \
|
||||
CONFIG_CRYPTO_HW=y \
|
||||
CONFIG_CRYPTO_DEV_GEODE
|
||||
FILES:=$(LINUX_DIR)/drivers/crypto/geode-aes.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,geode-aes)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-hw-geode))
|
||||
|
||||
|
||||
define KernelPackage/crypto-hw-hifn-795x
|
||||
TITLE:=HIFN 795x crypto accelerator
|
||||
DEPENDS:=+kmod-random-core +kmod-crypto-manager
|
||||
KCONFIG:= \
|
||||
CONFIG_CRYPTO_HW=y \
|
||||
CONFIG_CRYPTO_DEV_HIFN_795X \
|
||||
CONFIG_CRYPTO_DEV_HIFN_795X_RNG=y
|
||||
FILES:=$(LINUX_DIR)/drivers/crypto/hifn_795x.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,hifn_795x)
|
||||
$(call AddDepends/crypto,+kmod-crypto-des)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-hw-hifn-795x))
|
||||
|
||||
|
||||
define KernelPackage/crypto-hw-padlock
|
||||
TITLE:=VIA PadLock ACE with AES/SHA hw crypto module
|
||||
DEPENDS:=+kmod-crypto-manager
|
||||
KCONFIG:= \
|
||||
CONFIG_CRYPTO_HW=y \
|
||||
CONFIG_CRYPTO_DEV_PADLOCK \
|
||||
CONFIG_CRYPTO_DEV_PADLOCK_AES \
|
||||
CONFIG_CRYPTO_DEV_PADLOCK_SHA
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/crypto/padlock-aes.ko \
|
||||
$(LINUX_DIR)/drivers/crypto/padlock-sha.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,padlock-aes padlock-sha)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-hw-padlock))
|
||||
|
||||
|
||||
define KernelPackage/crypto-hw-talitos
|
||||
TITLE:=Freescale integrated security engine (SEC) driver
|
||||
DEPENDS:=+kmod-crypto-manager +kmod-crypto-hash +kmod-random-core +kmod-crypto-authenc +kmod-crypto-des
|
||||
KCONFIG:= \
|
||||
CONFIG_CRYPTO_HW=y \
|
||||
CONFIG_CRYPTO_DEV_TALITOS \
|
||||
CONFIG_CRYPTO_DEV_TALITOS1=y \
|
||||
CONFIG_CRYPTO_DEV_TALITOS2=y
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/crypto/talitos.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,talitos)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-hw-talitos))
|
||||
|
||||
|
||||
define KernelPackage/crypto-iv
|
||||
TITLE:=CryptoAPI initialization vectors
|
||||
DEPENDS:=+kmod-crypto-manager +kmod-crypto-rng +kmod-crypto-wq
|
||||
KCONFIG:= CONFIG_CRYPTO_BLKCIPHER2
|
||||
HIDDEN:=1
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/crypto/eseqiv.ko@lt4.9 \
|
||||
$(LINUX_DIR)/crypto/chainiv.ko@lt4.9
|
||||
AUTOLOAD:=$(call AutoLoad,10,eseqiv chainiv)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-iv))
|
||||
|
||||
|
||||
define KernelPackage/crypto-kpp
|
||||
TITLE:=Key-agreement Protocol Primitives
|
||||
KCONFIG:=CONFIG_CRYPTO_KPP
|
||||
HIDDEN:=1
|
||||
FILES:=$(LINUX_DIR)/crypto/kpp.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,kpp)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-kpp))
|
||||
|
||||
|
||||
define KernelPackage/crypto-manager
|
||||
TITLE:=CryptoAPI algorithm manager
|
||||
DEPENDS:=+kmod-crypto-aead +kmod-crypto-hash +kmod-crypto-pcompress
|
||||
KCONFIG:= \
|
||||
CONFIG_CRYPTO_MANAGER \
|
||||
CONFIG_CRYPTO_MANAGER2
|
||||
FILES:=$(LINUX_DIR)/crypto/cryptomgr.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,cryptomgr,1)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-manager))
|
||||
|
||||
|
||||
define KernelPackage/crypto-md4
|
||||
TITLE:=MD4 digest CryptoAPI module
|
||||
DEPENDS:=+kmod-crypto-hash
|
||||
KCONFIG:=CONFIG_CRYPTO_MD4
|
||||
FILES:=$(LINUX_DIR)/crypto/md4.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,md4)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-md4))
|
||||
|
||||
|
||||
define KernelPackage/crypto-md5
|
||||
TITLE:=MD5 digest CryptoAPI module
|
||||
DEPENDS:=+kmod-crypto-hash
|
||||
KCONFIG:= \
|
||||
CONFIG_CRYPTO_MD5 \
|
||||
CONFIG_CRYPTO_MD5_OCTEON
|
||||
FILES:=$(LINUX_DIR)/crypto/md5.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,md5)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
define KernelPackage/crypto-md5/octeon
|
||||
FILES+=$(LINUX_DIR)/arch/mips/cavium-octeon/crypto/octeon-md5.ko
|
||||
AUTOLOAD+=$(call AutoLoad,09,octeon-md5)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-md5))
|
||||
|
||||
|
||||
define KernelPackage/crypto-michael-mic
|
||||
TITLE:=Michael MIC keyed digest CryptoAPI module
|
||||
DEPENDS:=+kmod-crypto-hash
|
||||
KCONFIG:=CONFIG_CRYPTO_MICHAEL_MIC
|
||||
FILES:=$(LINUX_DIR)/crypto/michael_mic.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,michael_mic)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-michael-mic))
|
||||
|
||||
|
||||
define KernelPackage/crypto-misc
|
||||
TITLE:=Other CryptoAPI modules
|
||||
DEPENDS:=+kmod-crypto-xts
|
||||
KCONFIG:= \
|
||||
CONFIG_CRYPTO_CAMELLIA_X86_64 \
|
||||
CONFIG_CRYPTO_BLOWFISH_X86_64 \
|
||||
CONFIG_CRYPTO_TWOFISH_X86_64 \
|
||||
CONFIG_CRYPTO_TWOFISH_X86_64_3WAY \
|
||||
CONFIG_CRYPTO_SERPENT_SSE2_X86_64 \
|
||||
CONFIG_CRYPTO_CAMELLIA_AESNI_AVX_X86_64 \
|
||||
CONFIG_CRYPTO_CAST5_AVX_X86_64 \
|
||||
CONFIG_CRYPTO_CAST6_AVX_X86_64 \
|
||||
CONFIG_CRYPTO_TWOFISH_AVX_X86_64 \
|
||||
CONFIG_CRYPTO_SERPENT_AVX_X86_64 \
|
||||
CONFIG_CRYPTO_CAMELLIA_AESNI_AVX2_X86_64 \
|
||||
CONFIG_CRYPTO_SERPENT_AVX2_X86_64 \
|
||||
CONFIG_CRYPTO_SERPENT_SSE2_586 \
|
||||
CONFIG_CRYPTO_ANUBIS \
|
||||
CONFIG_CRYPTO_BLOWFISH \
|
||||
CONFIG_CRYPTO_CAMELLIA \
|
||||
CONFIG_CRYPTO_CAST5 \
|
||||
CONFIG_CRYPTO_CAST6 \
|
||||
CONFIG_CRYPTO_FCRYPT \
|
||||
CONFIG_CRYPTO_KHAZAD \
|
||||
CONFIG_CRYPTO_SERPENT \
|
||||
CONFIG_CRYPTO_TEA \
|
||||
CONFIG_CRYPTO_TGR192 \
|
||||
CONFIG_CRYPTO_TWOFISH \
|
||||
CONFIG_CRYPTO_TWOFISH_COMMON \
|
||||
CONFIG_CRYPTO_TWOFISH_586 \
|
||||
CONFIG_CRYPTO_WP512
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/crypto/anubis.ko \
|
||||
$(LINUX_DIR)/crypto/camellia_generic.ko \
|
||||
$(LINUX_DIR)/crypto/cast_common.ko \
|
||||
$(LINUX_DIR)/crypto/cast5_generic.ko \
|
||||
$(LINUX_DIR)/crypto/cast6_generic.ko \
|
||||
$(LINUX_DIR)/crypto/khazad.ko \
|
||||
$(LINUX_DIR)/crypto/tea.ko \
|
||||
$(LINUX_DIR)/crypto/tgr192.ko \
|
||||
$(LINUX_DIR)/crypto/twofish_common.ko \
|
||||
$(LINUX_DIR)/crypto/wp512.ko \
|
||||
$(LINUX_DIR)/crypto/twofish_generic.ko \
|
||||
$(LINUX_DIR)/crypto/blowfish_common.ko \
|
||||
$(LINUX_DIR)/crypto/blowfish_generic.ko \
|
||||
$(LINUX_DIR)/crypto/serpent_generic.ko
|
||||
AUTOLOAD:=$(call AutoLoad,10,anubis camellia_generic cast_common \
|
||||
cast5_generic cast6_generic khazad tea tgr192 twofish_common \
|
||||
wp512 blowfish_common serpent_generic)
|
||||
ifndef CONFIG_TARGET_x86
|
||||
AUTOLOAD+= $(call AutoLoad,10,twofish_generic blowfish_generic)
|
||||
endif
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
ifndef CONFIG_TARGET_x86_64
|
||||
define KernelPackage/crypto-misc/x86
|
||||
FILES+= \
|
||||
$(LINUX_DIR)/arch/x86/crypto/twofish-i586.ko \
|
||||
$(LINUX_DIR)/arch/x86/crypto/serpent-sse2-i586.ko \
|
||||
$(LINUX_DIR)/arch/x86/crypto/glue_helper.ko \
|
||||
$(LINUX_DIR)/crypto/ablk_helper.ko@lt4.17 \
|
||||
$(LINUX_DIR)/crypto/cryptd.ko \
|
||||
$(LINUX_DIR)/crypto/lrw.ko@lt4.17 \
|
||||
$(LINUX_DIR)/crypto/crypto_simd.ko@ge4.17
|
||||
AUTOLOAD+= $(call AutoLoad,10,cryptd glue_helper \
|
||||
serpent-sse2-i586 twofish-i586 blowfish_generic)
|
||||
endef
|
||||
endif
|
||||
|
||||
define KernelPackage/crypto-misc/x86/64
|
||||
FILES+= \
|
||||
$(LINUX_DIR)/arch/x86/crypto/camellia-x86_64.ko \
|
||||
$(LINUX_DIR)/arch/x86/crypto/blowfish-x86_64.ko \
|
||||
$(LINUX_DIR)/arch/x86/crypto/twofish-x86_64.ko \
|
||||
$(LINUX_DIR)/arch/x86/crypto/twofish-x86_64-3way.ko \
|
||||
$(LINUX_DIR)/arch/x86/crypto/serpent-sse2-x86_64.ko \
|
||||
$(LINUX_DIR)/arch/x86/crypto/camellia-aesni-avx-x86_64.ko \
|
||||
$(LINUX_DIR)/arch/x86/crypto/cast5-avx-x86_64.ko \
|
||||
$(LINUX_DIR)/arch/x86/crypto/cast6-avx-x86_64.ko \
|
||||
$(LINUX_DIR)/arch/x86/crypto/twofish-avx-x86_64.ko \
|
||||
$(LINUX_DIR)/arch/x86/crypto/serpent-avx-x86_64.ko \
|
||||
$(LINUX_DIR)/arch/x86/crypto/camellia-aesni-avx2.ko \
|
||||
$(LINUX_DIR)/arch/x86/crypto/serpent-avx2.ko \
|
||||
$(LINUX_DIR)/crypto/ablk_helper.ko@lt4.17
|
||||
AUTOLOAD+= $(call AutoLoad,10,camellia-x86_64 \
|
||||
camellia-aesni-avx-x86_64 camellia-aesni-avx2 cast5-avx-x86_64 \
|
||||
cast6-avx-x86_64 twofish-x86_64 twofish-x86_64-3way \
|
||||
twofish-avx-x86_64 blowfish-x86_64 serpent-avx-x86_64 serpent-avx2)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-misc))
|
||||
|
||||
|
||||
define KernelPackage/crypto-null
|
||||
TITLE:=Null CryptoAPI module
|
||||
KCONFIG:=CONFIG_CRYPTO_NULL
|
||||
FILES:=$(LINUX_DIR)/crypto/crypto_null.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,crypto_null)
|
||||
$(call AddDepends/crypto, +kmod-crypto-hash)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-null))
|
||||
|
||||
|
||||
define KernelPackage/crypto-pcbc
|
||||
TITLE:=Propagating Cipher Block Chaining CryptoAPI module
|
||||
DEPENDS:=+kmod-crypto-manager
|
||||
KCONFIG:=CONFIG_CRYPTO_PCBC
|
||||
FILES:=$(LINUX_DIR)/crypto/pcbc.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,pcbc)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-pcbc))
|
||||
|
||||
|
||||
define KernelPackage/crypto-pcompress
|
||||
TITLE:=CryptoAPI Partial (de)compression operations
|
||||
KCONFIG:= \
|
||||
CONFIG_CRYPTO_PCOMP=y \
|
||||
CONFIG_CRYPTO_PCOMP2
|
||||
FILES:=$(LINUX_DIR)/crypto/pcompress.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,pcompress)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-pcompress))
|
||||
|
||||
|
||||
define KernelPackage/crypto-rsa
|
||||
TITLE:=RSA algorithm
|
||||
DEPENDS:=+kmod-crypto-manager +kmod-asn1-decoder
|
||||
KCONFIG:= CONFIG_CRYPTO_RSA
|
||||
HIDDEN:=1
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/lib/mpi/mpi.ko \
|
||||
$(LINUX_DIR)/crypto/akcipher.ko \
|
||||
$(LINUX_DIR)/crypto/rsa_generic.ko
|
||||
AUTOLOAD:=$(call AutoLoad,10,rsa_generic)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-rsa))
|
||||
|
||||
|
||||
define KernelPackage/crypto-rmd160
|
||||
TITLE:=RIPEMD160 digest CryptoAPI module
|
||||
DEPENDS:=+kmod-crypto-hash
|
||||
KCONFIG:=CONFIG_CRYPTO_RMD160
|
||||
FILES:=$(LINUX_DIR)/crypto/rmd160.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,rmd160)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-rmd160))
|
||||
|
||||
|
||||
define KernelPackage/crypto-rng
|
||||
TITLE:=CryptoAPI random number generation
|
||||
DEPENDS:=+kmod-crypto-hash +kmod-crypto-hmac +kmod-crypto-sha256
|
||||
KCONFIG:= \
|
||||
CONFIG_CRYPTO_DRBG \
|
||||
CONFIG_CRYPTO_DRBG_HMAC=y \
|
||||
CONFIG_CRYPTO_DRBG_HASH=n \
|
||||
CONFIG_CRYPTO_DRBG_MENU \
|
||||
CONFIG_CRYPTO_JITTERENTROPY \
|
||||
CONFIG_CRYPTO_RNG2
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/crypto/drbg.ko@ge4.2 \
|
||||
$(LINUX_DIR)/crypto/jitterentropy_rng.ko@ge4.2 \
|
||||
$(LINUX_DIR)/crypto/krng.ko@lt4.2 \
|
||||
$(LINUX_DIR)/crypto/rng.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,drbg@ge4.2 jitterentropy_rng@ge4.2 krng@lt4.2 rng)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-rng))
|
||||
|
||||
|
||||
define KernelPackage/crypto-seqiv
|
||||
TITLE:=CryptoAPI Sequence Number IV Generator
|
||||
DEPENDS:=+kmod-crypto-aead +kmod-crypto-rng
|
||||
KCONFIG:=CONFIG_CRYPTO_SEQIV
|
||||
FILES:=$(LINUX_DIR)/crypto/seqiv.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,seqiv)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-seqiv))
|
||||
|
||||
|
||||
define KernelPackage/crypto-sha1
|
||||
TITLE:=SHA1 digest CryptoAPI module
|
||||
DEPENDS:=+kmod-crypto-hash
|
||||
KCONFIG:= \
|
||||
CONFIG_CRYPTO_SHA1 \
|
||||
CONFIG_CRYPTO_SHA1_OCTEON \
|
||||
CONFIG_CRYPTO_SHA1_SSSE3
|
||||
FILES:=$(LINUX_DIR)/crypto/sha1_generic.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,sha1_generic)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
define KernelPackage/crypto-sha1/octeon
|
||||
FILES+=$(LINUX_DIR)/arch/mips/cavium-octeon/crypto/octeon-sha1.ko
|
||||
AUTOLOAD+=$(call AutoLoad,09,octeon-sha1)
|
||||
endef
|
||||
|
||||
define KernelPackage/crypto-sha1/x86/64
|
||||
FILES+=$(LINUX_DIR)/arch/x86/crypto/sha1-ssse3.ko
|
||||
AUTOLOAD+=$(call AutoLoad,09,sha1-ssse3)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-sha1))
|
||||
|
||||
|
||||
define KernelPackage/crypto-sha256
|
||||
TITLE:=SHA224 SHA256 digest CryptoAPI module
|
||||
DEPENDS:=+kmod-crypto-hash
|
||||
KCONFIG:= \
|
||||
CONFIG_CRYPTO_SHA256 \
|
||||
CONFIG_CRYPTO_SHA256_OCTEON \
|
||||
CONFIG_CRYPTO_SHA256_SSSE3
|
||||
FILES:=$(LINUX_DIR)/crypto/sha256_generic.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,sha256_generic)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
define KernelPackage/crypto-sha256/octeon
|
||||
FILES+=$(LINUX_DIR)/arch/mips/cavium-octeon/crypto/octeon-sha256.ko
|
||||
AUTOLOAD+=$(call AutoLoad,09,octeon-sha256)
|
||||
endef
|
||||
|
||||
define KernelPackage/crypto-sha256/x86/64
|
||||
FILES+=$(LINUX_DIR)/arch/x86/crypto/sha256-ssse3.ko
|
||||
AUTOLOAD+=$(call AutoLoad,09,sha256-ssse3)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-sha256))
|
||||
|
||||
|
||||
define KernelPackage/crypto-sha512
|
||||
TITLE:=SHA512 digest CryptoAPI module
|
||||
DEPENDS:=+kmod-crypto-hash
|
||||
KCONFIG:= \
|
||||
CONFIG_CRYPTO_SHA512 \
|
||||
CONFIG_CRYPTO_SHA512_OCTEON \
|
||||
CONFIG_CRYPTO_SHA512_SSSE3
|
||||
FILES:=$(LINUX_DIR)/crypto/sha512_generic.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,sha512_generic)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
define KernelPackage/crypto-sha512/octeon
|
||||
FILES+=$(LINUX_DIR)/arch/mips/cavium-octeon/crypto/octeon-sha512.ko
|
||||
AUTOLOAD+=$(call AutoLoad,09,octeon-sha512)
|
||||
endef
|
||||
|
||||
define KernelPackage/crypto-sha512/x86/64
|
||||
FILES+=$(LINUX_DIR)/arch/x86/crypto/sha512-ssse3.ko
|
||||
AUTOLOAD+=$(call AutoLoad,09,sha512-ssse3)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-sha512))
|
||||
|
||||
|
||||
define KernelPackage/crypto-test
|
||||
TITLE:=Test CryptoAPI module
|
||||
KCONFIG:=CONFIG_CRYPTO_TEST
|
||||
FILES:=$(LINUX_DIR)/crypto/tcrypt.ko
|
||||
$(call AddDepends/crypto,+kmod-crypto-manager)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-test))
|
||||
|
||||
|
||||
define KernelPackage/crypto-user
|
||||
TITLE:=CryptoAPI userspace interface
|
||||
DEPENDS:=+kmod-crypto-hash +kmod-crypto-manager
|
||||
KCONFIG:= \
|
||||
CONFIG_CRYPTO_USER_API \
|
||||
CONFIG_CRYPTO_USER_API_HASH \
|
||||
CONFIG_CRYPTO_USER_API_SKCIPHER
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/crypto/af_alg.ko \
|
||||
$(LINUX_DIR)/crypto/algif_hash.ko \
|
||||
$(LINUX_DIR)/crypto/algif_skcipher.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,af_alg algif_hash algif_skcipher)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-user))
|
||||
|
||||
|
||||
define KernelPackage/crypto-wq
|
||||
TITLE:=CryptoAPI work queue handling
|
||||
KCONFIG:=CONFIG_CRYPTO_WORKQUEUE
|
||||
FILES:=$(LINUX_DIR)/crypto/crypto_wq.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,crypto_wq)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
$(eval $(call KernelPackage,crypto-wq))
|
||||
|
||||
|
||||
define KernelPackage/crypto-xts
|
||||
TITLE:=XTS cipher CryptoAPI module
|
||||
DEPENDS:=+kmod-crypto-gf128 +kmod-crypto-manager
|
||||
KCONFIG:=CONFIG_CRYPTO_XTS
|
||||
FILES:=$(LINUX_DIR)/crypto/xts.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,xts)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-xts))
|
||||
|
||||
76
package/kernel/linux/modules/firewire.mk
Normal file
76
package/kernel/linux/modules/firewire.mk
Normal file
@@ -0,0 +1,76 @@
|
||||
#
|
||||
# Copyright (C) 2008-2011 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
FIREWIRE_MENU:=FireWire support
|
||||
|
||||
define KernelPackage/firewire
|
||||
SUBMENU:=$(FIREWIRE_MENU)
|
||||
TITLE:=Support for FireWire (new stack)
|
||||
DEPENDS:=@PCI_SUPPORT +kmod-lib-crc-itu-t
|
||||
KCONFIG:=CONFIG_FIREWIRE
|
||||
FILES:=$(LINUX_DIR)/drivers/firewire/firewire-core.ko
|
||||
endef
|
||||
|
||||
define KernelPackage/firewire/description
|
||||
Kernel support for FireWire (new stack)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,firewire))
|
||||
|
||||
|
||||
define KernelPackage/firewire-net
|
||||
SUBMENU:=$(FIREWIRE_MENU)
|
||||
TITLE:=Support for IP networking over FireWire
|
||||
DEPENDS:=kmod-firewire
|
||||
KCONFIG:=CONFIG_FIREWIRE_NET
|
||||
FILES:=$(LINUX_DIR)/drivers/firewire/firewire-net.ko
|
||||
AUTOLOAD:=$(call AutoProbe,firewire-net)
|
||||
endef
|
||||
|
||||
define KernelPackage/firewire-net/description
|
||||
Kernel support for IPv4 over FireWire
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,firewire-net))
|
||||
|
||||
|
||||
define KernelPackage/firewire-ohci
|
||||
SUBMENU:=$(FIREWIRE_MENU)
|
||||
TITLE:=Support for OHCI-1394 controllers
|
||||
DEPENDS:=kmod-firewire
|
||||
KCONFIG:= \
|
||||
CONFIG_FIREWIRE_OHCI \
|
||||
CONFIG_FIREWIRE_OHCI_DEBUG=n \
|
||||
CONFIG_FIREWIRE_OHCI_REMOTE_DMA=n
|
||||
FILES:=$(LINUX_DIR)/drivers/firewire/firewire-ohci.ko
|
||||
AUTOLOAD:=$(call AutoProbe,firewire-ohci)
|
||||
endef
|
||||
|
||||
|
||||
define KernelPackage/firewire-ohci/description
|
||||
Kernel support for FireWire OHCI-1394 controllers
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,firewire-ohci))
|
||||
|
||||
|
||||
define KernelPackage/firewire-sbp2
|
||||
SUBMENU:=$(FIREWIRE_MENU)
|
||||
TITLE:=Support for SBP-2 devices over FireWire
|
||||
DEPENDS:=kmod-firewire +kmod-scsi-core
|
||||
KCONFIG:=CONFIG_FIREWIRE_SBP2
|
||||
FILES:=$(LINUX_DIR)/drivers/firewire/firewire-sbp2.ko
|
||||
AUTOLOAD:=$(call AutoProbe,firewire-sbp2)
|
||||
endef
|
||||
|
||||
define KernelPackage/firewire-sbp2/description
|
||||
Kernel support for SBP-2 devices over FireWire
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,firewire-sbp2))
|
||||
|
||||
|
||||
579
package/kernel/linux/modules/fs.mk
Normal file
579
package/kernel/linux/modules/fs.mk
Normal file
@@ -0,0 +1,579 @@
|
||||
#
|
||||
# Copyright (C) 2006-2011 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
FS_MENU:=Filesystems
|
||||
|
||||
define KernelPackage/fs-9p
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=Plan 9 Resource Sharing Support
|
||||
DEPENDS:=+kmod-9pnet
|
||||
KCONFIG:=\
|
||||
CONFIG_9P_FS \
|
||||
CONFIG_9P_FS_POSIX_ACL=n \
|
||||
CONFIG_9P_FS_SECURITY=n \
|
||||
CONFIG_9P_FSCACHE=n
|
||||
FILES:=$(LINUX_DIR)/fs/9p/9p.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,9p)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-9p/description
|
||||
Kernel module for Plan 9 Resource Sharing Support support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-9p))
|
||||
|
||||
|
||||
define KernelPackage/fs-afs
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=Andrew FileSystem client
|
||||
DEFAULT:=n
|
||||
DEPENDS:=+kmod-rxrpc +kmod-dnsresolver +kmod-fs-fscache
|
||||
KCONFIG:=\
|
||||
CONFIG_AFS_FS=m \
|
||||
CONFIG_AFS_DEBUG=n \
|
||||
CONFIG_AFS_FSCACHE=y
|
||||
FILES:=$(LINUX_DIR)/fs/afs/kafs.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,kafs)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-afs/description
|
||||
Kernel module for Andrew FileSystem client support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-afs))
|
||||
|
||||
define KernelPackage/fs-autofs4
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=AUTOFS4 filesystem support
|
||||
KCONFIG:= \
|
||||
CONFIG_AUTOFS4_FS \
|
||||
CONFIG_AUTOFS_FS
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/fs/autofs4/autofs4.ko@lt4.18 \
|
||||
$(LINUX_DIR)/fs/autofs/autofs4.ko@ge4.18
|
||||
AUTOLOAD:=$(call AutoLoad,30,autofs4)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-autofs4/description
|
||||
Kernel module for AutoFS4 support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-autofs4))
|
||||
|
||||
|
||||
define KernelPackage/fs-btrfs
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=BTRFS filesystem support
|
||||
DEPENDS:=+kmod-lib-crc32c +kmod-lib-lzo +kmod-lib-zlib-inflate +kmod-lib-zlib-deflate +kmod-lib-raid6 +kmod-lib-xor +!LINUX_4_9:kmod-lib-zstd
|
||||
KCONFIG:=\
|
||||
CONFIG_BTRFS_FS \
|
||||
CONFIG_BTRFS_FS_POSIX_ACL=n \
|
||||
CONFIG_BTRFS_FS_CHECK_INTEGRITY=n
|
||||
FILES:=\
|
||||
$(LINUX_DIR)/fs/btrfs/btrfs.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,btrfs,1)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-btrfs/description
|
||||
Kernel module for BTRFS support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-btrfs))
|
||||
|
||||
|
||||
define KernelPackage/fs-cifs
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=CIFS support
|
||||
KCONFIG:= \
|
||||
CONFIG_CIFS \
|
||||
CONFIG_CIFS_XATTR=y \
|
||||
CONFIG_CIFS_DFS_UPCALL=n \
|
||||
CONFIG_CIFS_UPCALL=n \
|
||||
CONFIG_CIFS_SMB311=n
|
||||
FILES:=$(LINUX_DIR)/fs/cifs/cifs.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,cifs)
|
||||
$(call AddDepends/nls)
|
||||
DEPENDS+= \
|
||||
+kmod-crypto-hmac \
|
||||
+kmod-crypto-md5 \
|
||||
+kmod-crypto-md4 \
|
||||
+kmod-crypto-des \
|
||||
+kmod-crypto-ecb \
|
||||
+kmod-crypto-sha256
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-cifs/description
|
||||
Kernel module for CIFS support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-cifs))
|
||||
|
||||
|
||||
define KernelPackage/fs-configfs
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=Configuration filesystem support
|
||||
KCONFIG:= \
|
||||
CONFIG_CONFIGFS_FS
|
||||
FILES:=$(LINUX_DIR)/fs/configfs/configfs.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,configfs)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-configfs/description
|
||||
Kernel module for configfs support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-configfs))
|
||||
|
||||
|
||||
define KernelPackage/fs-cramfs
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=Compressed RAM/ROM filesystem support
|
||||
DEPENDS:=+kmod-lib-zlib-inflate
|
||||
KCONFIG:= \
|
||||
CONFIG_CRAMFS
|
||||
FILES:=$(LINUX_DIR)/fs/cramfs/cramfs.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,cramfs)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-cramfs/description
|
||||
Kernel module for cramfs support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-cramfs))
|
||||
|
||||
|
||||
define KernelPackage/fs-efivarfs
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=efivar filesystem support
|
||||
KCONFIG:=CONFIG_EFIVAR_FS
|
||||
FILES:=$(LINUX_DIR)/fs/efivarfs/efivarfs.ko
|
||||
DEPENDS:=@(x86_64||x86)
|
||||
AUTOLOAD:=$(call Autoload,90,efivarfs)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-efivarfs/description
|
||||
Kernel module to support efivarfs file system mountpoint.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-efivarfs))
|
||||
|
||||
|
||||
define KernelPackage/fs-exportfs
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=exportfs kernel server support
|
||||
KCONFIG:=CONFIG_EXPORTFS
|
||||
FILES=$(LINUX_DIR)/fs/exportfs/exportfs.ko
|
||||
AUTOLOAD:=$(call AutoLoad,20,exportfs,1)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-exportfs/description
|
||||
Kernel module for exportfs. Needed for some other modules.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-exportfs))
|
||||
|
||||
|
||||
define KernelPackage/fs-ext4
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=EXT4 filesystem support
|
||||
DEPENDS := \
|
||||
+kmod-lib-crc16 \
|
||||
+kmod-crypto-hash \
|
||||
+kmod-crypto-crc32c
|
||||
KCONFIG:= \
|
||||
CONFIG_EXT4_FS \
|
||||
CONFIG_EXT4_ENCRYPTION=n \
|
||||
CONFIG_JBD2
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/fs/ext4/ext4.ko \
|
||||
$(LINUX_DIR)/fs/jbd2/jbd2.ko \
|
||||
$(LINUX_DIR)/fs/mbcache.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,mbcache jbd2 ext4,1)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-ext4/description
|
||||
Kernel module for EXT4 filesystem support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-ext4))
|
||||
|
||||
|
||||
define KernelPackage/fs-f2fs
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=F2FS filesystem support
|
||||
DEPENDS:= +kmod-crypto-hash +kmod-crypto-crc32
|
||||
KCONFIG:= \
|
||||
CONFIG_F2FS_FS \
|
||||
CONFIG_F2FS_STAT_FS=y \
|
||||
CONFIG_F2FS_FS_XATTR=y \
|
||||
CONFIG_F2FS_FS_POSIX_ACL=n \
|
||||
CONFIG_F2FS_FS_SECURITY=n \
|
||||
CONFIG_F2FS_CHECK_FS=n
|
||||
FILES:=$(LINUX_DIR)/fs/f2fs/f2fs.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,f2fs,1)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-f2fs/description
|
||||
Kernel module for F2FS filesystem support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-f2fs))
|
||||
|
||||
|
||||
define KernelPackage/fs-fscache
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=General filesystem local cache manager
|
||||
DEPENDS:=
|
||||
KCONFIG:=\
|
||||
CONFIG_FSCACHE=m \
|
||||
CONFIG_FSCACHE_STATS=y \
|
||||
CONFIG_FSCACHE_HISTOGRAM=n \
|
||||
CONFIG_FSCACHE_DEBUG=n \
|
||||
CONFIG_FSCACHE_OBJECT_LIST=n \
|
||||
CONFIG_CACHEFILES=y \
|
||||
CONFIG_CACHEFILES_DEBUG=n \
|
||||
CONFIG_CACHEFILES_HISTOGRAM=n
|
||||
FILES:=$(LINUX_DIR)/fs/fscache/fscache.ko
|
||||
AUTOLOAD:=$(call AutoLoad,29,fscache)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-fscache))
|
||||
|
||||
|
||||
define KernelPackage/fs-hfs
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=HFS filesystem support
|
||||
KCONFIG:=CONFIG_HFS_FS
|
||||
FILES:=$(LINUX_DIR)/fs/hfs/hfs.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,hfs)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-hfs/description
|
||||
Kernel module for HFS filesystem support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-hfs))
|
||||
|
||||
|
||||
define KernelPackage/fs-hfsplus
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=HFS+ filesystem support
|
||||
KCONFIG:=CONFIG_HFSPLUS_FS
|
||||
FILES:=$(LINUX_DIR)/fs/hfsplus/hfsplus.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,hfsplus)
|
||||
$(call AddDepends/nls,utf8)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-hfsplus/description
|
||||
Kernel module for HFS+ filesystem support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-hfsplus))
|
||||
|
||||
|
||||
define KernelPackage/fs-isofs
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=ISO9660 filesystem support
|
||||
DEPENDS:=+kmod-lib-zlib-inflate
|
||||
KCONFIG:=CONFIG_ISO9660_FS CONFIG_JOLIET=y CONFIG_ZISOFS=n
|
||||
FILES:=$(LINUX_DIR)/fs/isofs/isofs.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,isofs)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-isofs/description
|
||||
Kernel module for ISO9660 filesystem support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-isofs))
|
||||
|
||||
|
||||
define KernelPackage/fs-jfs
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=JFS filesystem support
|
||||
KCONFIG:=CONFIG_JFS_FS
|
||||
FILES:=$(LINUX_DIR)/fs/jfs/jfs.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,jfs,1)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-jfs/description
|
||||
Kernel module for JFS support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-jfs))
|
||||
|
||||
define KernelPackage/fs-minix
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=Minix filesystem support
|
||||
KCONFIG:=CONFIG_MINIX_FS
|
||||
FILES:=$(LINUX_DIR)/fs/minix/minix.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,minix)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-minix/description
|
||||
Kernel module for Minix filesystem support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-minix))
|
||||
|
||||
|
||||
define KernelPackage/fs-msdos
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=MSDOS filesystem support
|
||||
DEPENDS:=+kmod-fs-vfat
|
||||
KCONFIG:=CONFIG_MSDOS_FS
|
||||
FILES:=$(LINUX_DIR)/fs/fat/msdos.ko
|
||||
AUTOLOAD:=$(call AutoLoad,40,msdos)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-msdos/description
|
||||
Kernel module for MSDOS filesystem support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-msdos))
|
||||
|
||||
|
||||
define KernelPackage/fs-nfs
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=NFS filesystem client support
|
||||
DEPENDS:=+kmod-fs-nfs-common +kmod-dnsresolver
|
||||
KCONFIG:= \
|
||||
CONFIG_NFS_FS \
|
||||
CONFIG_NFS_USE_LEGACY_DNS=n \
|
||||
CONFIG_NFS_USE_NEW_IDMAPPER=n
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/fs/nfs/nfs.ko
|
||||
AUTOLOAD:=$(call AutoLoad,40,nfs)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-nfs/description
|
||||
Kernel module for NFS client support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-nfs))
|
||||
|
||||
|
||||
define KernelPackage/fs-nfs-common
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=Common NFS filesystem modules
|
||||
KCONFIG:= \
|
||||
CONFIG_LOCKD \
|
||||
CONFIG_SUNRPC \
|
||||
CONFIG_GRACE_PERIOD
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/fs/lockd/lockd.ko \
|
||||
$(LINUX_DIR)/net/sunrpc/sunrpc.ko \
|
||||
$(LINUX_DIR)/fs/nfs_common/grace.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,grace sunrpc lockd)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-nfs-common))
|
||||
|
||||
|
||||
define KernelPackage/fs-nfs-common-rpcsec
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=NFS Secure RPC
|
||||
DEPENDS:= \
|
||||
+kmod-fs-nfs-common \
|
||||
+kmod-crypto-des \
|
||||
+kmod-crypto-cbc \
|
||||
+kmod-crypto-cts \
|
||||
+kmod-crypto-md5 \
|
||||
+kmod-crypto-sha1 \
|
||||
+kmod-crypto-hmac \
|
||||
+kmod-crypto-ecb
|
||||
KCONFIG:= \
|
||||
CONFIG_SUNRPC_GSS \
|
||||
CONFIG_RPCSEC_GSS_KRB5
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/lib/oid_registry.ko \
|
||||
$(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.ko \
|
||||
$(LINUX_DIR)/net/sunrpc/auth_gss/rpcsec_gss_krb5.ko
|
||||
AUTOLOAD:=$(call AutoLoad,31,oid_registry auth_rpcgss rpcsec_gss_krb5)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-nfs-common-rpcsec/description
|
||||
Kernel modules for NFS Secure RPC
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-nfs-common-rpcsec))
|
||||
|
||||
|
||||
define KernelPackage/fs-nfs-v3
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=NFS3 filesystem client support
|
||||
DEPENDS:=+kmod-fs-nfs
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/fs/nfs/nfsv3.ko
|
||||
AUTOLOAD:=$(call AutoLoad,41,nfsv3)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-nfs-v3/description
|
||||
Kernel module for NFS v3 client support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-nfs-v3))
|
||||
|
||||
|
||||
define KernelPackage/fs-nfs-v4
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=NFS4 filesystem client support
|
||||
DEPENDS:=+kmod-fs-nfs
|
||||
KCONFIG:= \
|
||||
CONFIG_NFS_V4=y
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/fs/nfs/nfsv4.ko
|
||||
AUTOLOAD:=$(call AutoLoad,41,nfsv4)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-nfs-v4/description
|
||||
Kernel module for NFS v4 support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-nfs-v4))
|
||||
|
||||
|
||||
define KernelPackage/fs-nfsd
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=NFS kernel server support
|
||||
DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs +kmod-fs-nfs-common-rpcsec
|
||||
KCONFIG:= \
|
||||
CONFIG_NFSD \
|
||||
CONFIG_NFSD_V4=y \
|
||||
CONFIG_NFSD_V4_SECURITY_LABEL=n \
|
||||
CONFIG_NFSD_BLOCKLAYOUT=n \
|
||||
CONFIG_NFSD_SCSILAYOUT=n \
|
||||
CONFIG_NFSD_FLEXFILELAYOUT=n \
|
||||
CONFIG_NFSD_FAULT_INJECTION=n
|
||||
FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.ko
|
||||
AUTOLOAD:=$(call AutoLoad,40,nfsd)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-nfsd/description
|
||||
Kernel module for NFS kernel server support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-nfsd))
|
||||
|
||||
|
||||
define KernelPackage/fs-ntfs
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=NTFS filesystem support
|
||||
KCONFIG:=CONFIG_NTFS_FS
|
||||
FILES:=$(LINUX_DIR)/fs/ntfs/ntfs.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,ntfs)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-ntfs/description
|
||||
Kernel module for NTFS filesystem support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-ntfs))
|
||||
|
||||
|
||||
define KernelPackage/fs-reiserfs
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=ReiserFS filesystem support
|
||||
KCONFIG:=CONFIG_REISERFS_FS \
|
||||
CONFIG_REISERFS_FS_XATTR=y
|
||||
FILES:=$(LINUX_DIR)/fs/reiserfs/reiserfs.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,reiserfs,1)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-reiserfs/description
|
||||
Kernel module for ReiserFS support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-reiserfs))
|
||||
|
||||
|
||||
define KernelPackage/fs-squashfs
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=SquashFS 4.0 filesystem support
|
||||
KCONFIG:=CONFIG_SQUASHFS \
|
||||
CONFIG_SQUASHFS_XZ=y
|
||||
FILES:=$(LINUX_DIR)/fs/squashfs/squashfs.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,squashfs,1)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-squashfs/description
|
||||
Kernel module for SquashFS 4.0 support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-squashfs))
|
||||
|
||||
|
||||
define KernelPackage/fs-udf
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=UDF filesystem support
|
||||
KCONFIG:=CONFIG_UDF_FS
|
||||
FILES:=$(LINUX_DIR)/fs/udf/udf.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,udf)
|
||||
DEPENDS:=+kmod-lib-crc-itu-t
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-udf/description
|
||||
Kernel module for UDF filesystem support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-udf))
|
||||
|
||||
|
||||
define KernelPackage/fs-vfat
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=VFAT filesystem support
|
||||
KCONFIG:= \
|
||||
CONFIG_FAT_FS \
|
||||
CONFIG_VFAT_FS
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/fs/fat/fat.ko \
|
||||
$(LINUX_DIR)/fs/fat/vfat.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,fat vfat)
|
||||
$(call AddDepends/nls,cp437 iso8859-1 utf8)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-vfat/description
|
||||
Kernel module for VFAT filesystem support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-vfat))
|
||||
|
||||
|
||||
define KernelPackage/fs-xfs
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=XFS filesystem support
|
||||
KCONFIG:=CONFIG_XFS_FS
|
||||
DEPENDS:= +kmod-fs-exportfs +kmod-lib-crc32c
|
||||
FILES:=$(LINUX_DIR)/fs/xfs/xfs.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,xfs,1)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-xfs/description
|
||||
Kernel module for XFS support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-xfs))
|
||||
|
||||
|
||||
define KernelPackage/fuse
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=FUSE (Filesystem in Userspace) support
|
||||
KCONFIG:= CONFIG_FUSE_FS
|
||||
FILES:=$(LINUX_DIR)/fs/fuse/fuse.ko
|
||||
AUTOLOAD:=$(call AutoLoad,80,fuse)
|
||||
endef
|
||||
|
||||
define KernelPackage/fuse/description
|
||||
Kernel module for userspace filesystem support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fuse))
|
||||
495
package/kernel/linux/modules/hwmon.mk
Normal file
495
package/kernel/linux/modules/hwmon.mk
Normal file
@@ -0,0 +1,495 @@
|
||||
#
|
||||
# Copyright (C) 2006-2014 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
HWMON_MENU:=Hardware Monitoring Support
|
||||
|
||||
define KernelPackage/hwmon-core
|
||||
SUBMENU:=$(HWMON_MENU)
|
||||
TITLE:=Hardware monitoring support
|
||||
KCONFIG:= \
|
||||
CONFIG_HWMON \
|
||||
CONFIG_HWMON_DEBUG_CHIP=n
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/hwmon/hwmon.ko
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-core/description
|
||||
Kernel modules for hardware monitoring
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-core))
|
||||
|
||||
|
||||
define AddDepends/hwmon
|
||||
SUBMENU:=$(HWMON_MENU)
|
||||
DEPENDS:=kmod-hwmon-core $(1)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-ads1015
|
||||
TITLE:=Texas Instruments ADS1015
|
||||
KCONFIG:= CONFIG_SENSORS_ADS1015
|
||||
FILES:= $(LINUX_DIR)/drivers/hwmon/ads1015.ko
|
||||
AUTOLOAD:=$(call AutoLoad,60,ads1015)
|
||||
$(call AddDepends/hwmon,+kmod-i2c-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-ads1015/description
|
||||
Kernel module for Texas Instruments ADS1015 Analog-to-Digital converter
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-ads1015))
|
||||
|
||||
define KernelPackage/hwmon-adt7410
|
||||
TITLE:=ADT7410 monitoring support
|
||||
KCONFIG:= \
|
||||
CONFIG_SENSORS_ADT7X10 \
|
||||
CONFIG_SENSORS_ADT7410
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/hwmon/adt7x10.ko \
|
||||
$(LINUX_DIR)/drivers/hwmon/adt7410.ko
|
||||
AUTOLOAD:=$(call AutoLoad,60,adt7x10 adt7410)
|
||||
$(call AddDepends/hwmon,+kmod-i2c-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-adt7410/description
|
||||
Kernel module for ADT7410/7420 I2C thermal monitor chip
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-adt7410))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-adt7475
|
||||
TITLE:=ADT7473/7475/7476/7490 monitoring support
|
||||
KCONFIG:=CONFIG_SENSORS_ADT7475
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/adt7475.ko
|
||||
AUTOLOAD:=$(call AutoProbe,adt7475)
|
||||
$(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-adt7475/description
|
||||
Kernel module for ADT7473/7475/7476/7490 thermal monitor chip
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-adt7475))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-gpiofan
|
||||
TITLE:=Generic GPIO FAN support
|
||||
KCONFIG:=CONFIG_SENSORS_GPIO_FAN
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/gpio-fan.ko
|
||||
AUTOLOAD:=$(call AutoLoad,60,gpio-fan)
|
||||
$(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-gpiofan/description
|
||||
Kernel module for GPIO controlled FANs
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-gpiofan))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-ina209
|
||||
TITLE:=INA209 monitoring support
|
||||
KCONFIG:=CONFIG_SENSORS_INA209
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/ina209.ko
|
||||
AUTOLOAD:=$(call AutoProbe,ina209)
|
||||
$(call AddDepends/hwmon,+kmod-i2c-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-ina209/description
|
||||
Kernel module for ina209 dc power monitor chips
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-ina209))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-ina2xx
|
||||
TITLE:=INA2XX monitoring support
|
||||
KCONFIG:=CONFIG_SENSORS_INA2XX
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/ina2xx.ko
|
||||
AUTOLOAD:=$(call AutoProbe,ina2xx)
|
||||
$(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-ina2xx/description
|
||||
Kernel module for ina2xx dc current monitor chips
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-ina2xx))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-it87
|
||||
TITLE:=IT87 monitoring support
|
||||
KCONFIG:=CONFIG_SENSORS_IT87
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/it87.ko
|
||||
AUTOLOAD:=$(call AutoProbe,it87)
|
||||
$(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid +PACKAGE_kmod-thermal:kmod-thermal)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-it87/description
|
||||
Kernel module for it87 thermal and voltage monitor chip
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-it87))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-lm63
|
||||
TITLE:=LM63/64 monitoring support
|
||||
KCONFIG:=CONFIG_SENSORS_LM63
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/lm63.ko
|
||||
AUTOLOAD:=$(call AutoProbe,lm63)
|
||||
$(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-lm63/description
|
||||
Kernel module for lm63 and lm64 thermal monitor chip
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-lm63))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-lm75
|
||||
TITLE:=LM75 monitoring support
|
||||
KCONFIG:=CONFIG_SENSORS_LM75
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.ko
|
||||
AUTOLOAD:=$(call AutoProbe,lm75)
|
||||
$(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-lm75/description
|
||||
Kernel module for lm75 thermal monitor chip
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-lm75))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-lm77
|
||||
TITLE:=LM77 monitoring support
|
||||
KCONFIG:=CONFIG_SENSORS_LM77
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.ko
|
||||
AUTOLOAD:=$(call AutoProbe,lm77)
|
||||
$(call AddDepends/hwmon,+kmod-i2c-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-lm77/description
|
||||
Kernel module for LM77 thermal monitor chip
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-lm77))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-lm85
|
||||
TITLE:=LM85 monitoring support
|
||||
KCONFIG:=CONFIG_SENSORS_LM85
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/lm85.ko
|
||||
AUTOLOAD:=$(call AutoProbe,lm85)
|
||||
$(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-lm85/description
|
||||
Kernel module for LM85 thermal monitor chip
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-lm85))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-lm90
|
||||
TITLE:=LM90 monitoring support
|
||||
KCONFIG:=CONFIG_SENSORS_LM90
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.ko
|
||||
AUTOLOAD:=$(call AutoProbe,lm90)
|
||||
$(call AddDepends/hwmon,+kmod-i2c-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-lm90/description
|
||||
Kernel module for LM90 thermal monitor chip
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-lm90))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-lm92
|
||||
TITLE:=LM92 monitoring support
|
||||
KCONFIG:=CONFIG_SENSORS_LM92
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/lm92.ko
|
||||
AUTOLOAD:=$(call AutoProbe,lm92)
|
||||
$(call AddDepends/hwmon,+kmod-i2c-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-lm92/description
|
||||
Kernel module for LM92 thermal monitor chip
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-lm92))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-lm95241
|
||||
TITLE:=LM95241 monitoring support
|
||||
KCONFIG:=CONFIG_SENSORS_LM95241
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/lm95241.ko
|
||||
AUTOLOAD:=$(call AutoProbe,lm95241)
|
||||
$(call AddDepends/hwmon,+kmod-i2c-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-lm95241/description
|
||||
Kernel module for LM95241 thermal monitor chip
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-lm95241))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-ltc4151
|
||||
TITLE:=LTC4151 monitoring support
|
||||
KCONFIG:=CONFIG_SENSORS_LTC4151
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/ltc4151.ko
|
||||
AUTOLOAD:=$(call AutoProbe,ltc4151)
|
||||
$(call AddDepends/hwmon,+kmod-i2c-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-ltc4151/description
|
||||
Kernel module for Linear Technology LTC4151 current and voltage monitor chip
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-ltc4151))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-nct6775
|
||||
TITLE:=NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D and compatibles monitoring support
|
||||
KCONFIG:=CONFIG_SENSORS_NCT6775
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/nct6775.ko
|
||||
AUTOLOAD:=$(call AutoProbe,nct6775)
|
||||
$(call AddDepends/hwmon,@PCI_SUPPORT @TARGET_x86 +kmod-hwmon-vid)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-nct6775/description
|
||||
Kernel module for NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D thermal monitor chip
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-nct6775))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-pc87360
|
||||
TITLE:=PC87360 monitoring support
|
||||
KCONFIG:=CONFIG_SENSORS_PC87360
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/pc87360.ko
|
||||
AUTOLOAD:=$(call AutoProbe,pc87360)
|
||||
$(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-pc87360/description
|
||||
Kernel modules for PC87360 chips
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-pc87360))
|
||||
|
||||
|
||||
define KernelPackage/pmbus-core
|
||||
TITLE:=PMBus support
|
||||
KCONFIG:= CONFIG_PMBUS
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/pmbus_core.ko
|
||||
$(call AddDepends/hwmon,+kmod-i2c-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/pmbus-core/description
|
||||
Kernel modules for Power Management Bus
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,pmbus-core))
|
||||
|
||||
|
||||
define KernelPackage/pmbus-zl6100
|
||||
TITLE:=Intersil / Zilker Labs ZL6100 hardware monitoring
|
||||
KCONFIG:=CONFIG_SENSORS_ZL6100
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/zl6100.ko
|
||||
AUTOLOAD:=$(call AutoProbe,zl6100)
|
||||
$(call AddDepends/hwmon, +kmod-pmbus-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-sht21/description
|
||||
Kernel module for Intersil / Zilker Labs ZL6100 and
|
||||
compatible digital DC-DC controllers
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,pmbus-zl6100))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-pwmfan
|
||||
TITLE:=Generic PWM FAN support
|
||||
KCONFIG:=CONFIG_SENSORS_PWM_FAN
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/pwm-fan.ko
|
||||
AUTOLOAD:=$(call AutoLoad,60,pwm-fan)
|
||||
$(call AddDepends/hwmon, +PACKAGE_kmod-thermal:kmod-thermal)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-pwmfan/description
|
||||
Kernel module for PWM controlled FANs
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-pwmfan))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-sch5627
|
||||
TITLE:=SMSC SCH5627 monitoring support
|
||||
KCONFIG:=CONFIG_SENSORS_SCH5627
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/hwmon/sch5627.ko \
|
||||
$(LINUX_DIR)/drivers/hwmon/sch56xx-common.ko
|
||||
AUTOLOAD:=$(call AutoProbe,sch5627)
|
||||
$(call AddDepends/hwmon,+kmod-i2c-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-sch5627/description
|
||||
SMSC SCH5627 Super I/O chips include complete hardware monitoring
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-sch5627))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-sht21
|
||||
TITLE:=Sensiron SHT21 and compat. monitoring support
|
||||
KCONFIG:=CONFIG_SENSORS_SHT21
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/sht21.ko
|
||||
AUTOLOAD:=$(call AutoProbe,sht21)
|
||||
$(call AddDepends/hwmon,+kmod-i2c-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-sht21/description
|
||||
Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors chip
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-sht21))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-tmp102
|
||||
TITLE:=Texas Instruments TMP102 monitoring support
|
||||
KCONFIG:=CONFIG_SENSORS_TMP102
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/tmp102.ko
|
||||
AUTOLOAD:=$(call AutoProbe,tmp102)
|
||||
$(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-tmp102/description
|
||||
Kernel module for Texas Instruments TMP102 temperature sensors chip
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-tmp102))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-tmp103
|
||||
TITLE:=Texas Instruments TMP103 monitoring support
|
||||
KCONFIG:=CONFIG_SENSORS_TMP103
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/tmp103.ko
|
||||
AUTOLOAD:=$(call AutoProbe,tmp103)
|
||||
$(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-tmp103/description
|
||||
Kernel module for Texas Instruments TMP103 temperature sensors chip
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-tmp103))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-tmp421
|
||||
TITLE:=TI TMP421 and compatible monitoring support
|
||||
KCONFIG:=CONFIG_SENSORS_TMP421
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/tmp421.ko
|
||||
AUTOLOAD:=$(call AutoLoad,60,tmp421)
|
||||
$(call AddDepends/hwmon,+kmod-i2c-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-tmp421/description
|
||||
Kernel module for the Texas Instruments TMP421 and compatible chips.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-tmp421))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-vid
|
||||
TITLE:=VID/VRM/VRD voltage conversion module.
|
||||
KCONFIG:=CONFIG_HWMON_VID
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/hwmon-vid.ko
|
||||
AUTOLOAD:=$(call AutoLoad,41,hwmon-vid)
|
||||
$(call AddDepends/hwmon,)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-vid/description
|
||||
VID/VRM/VRD voltage conversion module for hardware monitoring
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-vid))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-w83627ehf
|
||||
TITLE:=Winbond W83627EHF/EHG/DHG/UHG, W83667HG monitoring support
|
||||
KCONFIG:=CONFIG_SENSORS_W83627EHF
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/w83627ehf.ko
|
||||
AUTOLOAD:=$(call AutoProbe,w83627ehf)
|
||||
$(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-w83627ehf/description
|
||||
Kernel module for Winbond W83627EHF/EHG/DHG/UHG and W83667HG thermal monitor chip
|
||||
Support for NCT6775F and NCT6776F has been removed from this driver in favour of
|
||||
using the nct6775 driver to handle those chips.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-w83627ehf))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-w83627hf
|
||||
TITLE:=Winbond W83627HF monitoring support
|
||||
KCONFIG:=CONFIG_SENSORS_W83627HF
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/w83627hf.ko
|
||||
AUTOLOAD:=$(call AutoLoad,50,w83627hf)
|
||||
$(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-w83627hf/description
|
||||
Kernel module for the Winbond W83627HF chips.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-w83627hf))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-w83793
|
||||
TITLE:=Winbond W83793G/R monitoring support
|
||||
KCONFIG:=CONFIG_SENSORS_W83793
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/w83793.ko
|
||||
AUTOLOAD:=$(call AutoProbe,w83793)
|
||||
$(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-w83793/description
|
||||
Kernel module for the Winbond W83793G and W83793R chips.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-w83793))
|
||||
|
||||
|
||||
define KernelPackage/hwmon-adcxx
|
||||
TITLE:=ADCxx monitoring support
|
||||
KCONFIG:=CONFIG_SENSORS_ADCXX
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/adcxx.ko
|
||||
AUTOLOAD:=$(call AutoLoad,60,adcxx)
|
||||
$(call AddDepends/hwmon,)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-adcxx/description
|
||||
Kernel module for the National Semiconductor
|
||||
ADC<bb><c>S<sss> chip family, where
|
||||
* bb is the resolution in number of bits (8, 10, 12)
|
||||
* c is the number of channels (1, 2, 4, 8)
|
||||
* sss is the maximum conversion speed (021 for 200 kSPS, 051 for 500
|
||||
kSPS and 101 for 1 MSPS)
|
||||
|
||||
Examples : ADC081S101, ADC124S501, ...
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-adcxx))
|
||||
|
||||
|
||||
245
package/kernel/linux/modules/i2c.mk
Normal file
245
package/kernel/linux/modules/i2c.mk
Normal file
@@ -0,0 +1,245 @@
|
||||
#
|
||||
# Copyright (C) 2006-2009 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
I2C_MENU:=I2C support
|
||||
|
||||
ModuleConfVar=$(word 1,$(subst :,$(space),$(1)))
|
||||
ModuleFullPath=$(LINUX_DIR)/$(word 2,$(subst :,$(space),$(1))).ko
|
||||
ModuleKconfig=$(foreach mod,$(1),$(call ModuleConfVar,$(mod)))
|
||||
ModuleFiles=$(foreach mod,$(1),$(call ModuleFullPath,$(mod)))
|
||||
ModuleAuto=$(call AutoLoad,$(1),$(foreach mod,$(2),$(basename $(notdir $(call ModuleFullPath,$(mod))))),$(3))
|
||||
|
||||
define i2c_defaults
|
||||
SUBMENU:=$(I2C_MENU)
|
||||
KCONFIG:=$(call ModuleKconfig,$(1))
|
||||
FILES:=$(call ModuleFiles,$(1))
|
||||
AUTOLOAD:=$(call ModuleAuto,$(2),$(1),$(3))
|
||||
endef
|
||||
|
||||
I2C_CORE_MODULES:= \
|
||||
CONFIG_I2C:drivers/i2c/i2c-core \
|
||||
CONFIG_I2C_CHARDEV:drivers/i2c/i2c-dev
|
||||
|
||||
define KernelPackage/i2c-core
|
||||
$(call i2c_defaults,$(I2C_CORE_MODULES),51)
|
||||
TITLE:=I2C support
|
||||
endef
|
||||
|
||||
define KernelPackage/i2c-core/description
|
||||
Kernel modules for I2C support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,i2c-core))
|
||||
|
||||
|
||||
I2C_ALGOBIT_MODULES:= \
|
||||
CONFIG_I2C_ALGOBIT:drivers/i2c/algos/i2c-algo-bit
|
||||
|
||||
define KernelPackage/i2c-algo-bit
|
||||
$(call i2c_defaults,$(I2C_ALGOBIT_MODULES),55)
|
||||
TITLE:=I2C bit-banging interfaces
|
||||
DEPENDS:=kmod-i2c-core
|
||||
endef
|
||||
|
||||
define KernelPackage/i2c-algo-bit/description
|
||||
Kernel modules for I2C bit-banging interfaces
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,i2c-algo-bit))
|
||||
|
||||
|
||||
I2C_ALGOPCA_MODULES:= \
|
||||
CONFIG_I2C_ALGOPCA:drivers/i2c/algos/i2c-algo-pca
|
||||
|
||||
define KernelPackage/i2c-algo-pca
|
||||
$(call i2c_defaults,$(I2C_ALGOPCA_MODULES),55)
|
||||
TITLE:=I2C PCA 9564 interfaces
|
||||
DEPENDS:=kmod-i2c-core
|
||||
endef
|
||||
|
||||
define KernelPackage/i2c-algo-pca/description
|
||||
Kernel modules for I2C PCA 9564 interfaces
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,i2c-algo-pca))
|
||||
|
||||
|
||||
I2C_ALGOPCF_MODULES:= \
|
||||
CONFIG_I2C_ALGOPCF:drivers/i2c/algos/i2c-algo-pcf
|
||||
|
||||
define KernelPackage/i2c-algo-pcf
|
||||
$(call i2c_defaults,$(I2C_ALGOPCF_MODULES),55)
|
||||
TITLE:=I2C PCF 8584 interfaces
|
||||
DEPENDS:=kmod-i2c-core
|
||||
endef
|
||||
|
||||
define KernelPackage/i2c-algo-pcf/description
|
||||
Kernel modules for I2C PCF 8584 interfaces
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,i2c-algo-pcf))
|
||||
|
||||
|
||||
I2C_GPIO_MODULES:= \
|
||||
CONFIG_I2C_GPIO:drivers/i2c/busses/i2c-gpio
|
||||
|
||||
define KernelPackage/i2c-gpio
|
||||
$(call i2c_defaults,$(I2C_GPIO_MODULES),59)
|
||||
TITLE:=GPIO-based bitbanging I2C
|
||||
DEPENDS:=@GPIO_SUPPORT +kmod-i2c-algo-bit
|
||||
endef
|
||||
|
||||
define KernelPackage/i2c-gpio/description
|
||||
Kernel modules for a very simple bitbanging I2C driver utilizing the
|
||||
arch-neutral GPIO API to control the SCL and SDA lines.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,i2c-gpio))
|
||||
|
||||
|
||||
I2C_I801_MODULES:= \
|
||||
CONFIG_I2C_I801:drivers/i2c/busses/i2c-i801
|
||||
|
||||
define KernelPackage/i2c-i801
|
||||
$(call i2c_defaults,$(I2C_I801_MODULES),59)
|
||||
TITLE:=Intel I801 and compatible I2C interfaces
|
||||
DEPENDS:=@PCI_SUPPORT @TARGET_x86 kmod-i2c-core +kmod-i2c-smbus
|
||||
endef
|
||||
|
||||
define KernelPackage/i2c-i801/description
|
||||
Support for the Intel I801 family of mainboard I2C interfaces,
|
||||
specifically 82801AA, 82801AB, 82801BA, 82801CA/CAM, 82801DB,
|
||||
82801EB/ER (ICH5/ICH5R), 6300ESB, ICH6, ICH7, ESB2, ICH8, ICH9,
|
||||
EP80579 (Tolapai), ICH10, 5/3400 Series (PCH), 6 Series (PCH),
|
||||
Patsburg (PCH), DH89xxCC (PCH), Panther Point (PCH),
|
||||
Lynx Point (PCH), Lynx Point-LP (PCH), Avoton (SOC),
|
||||
Wellsburg (PCH), Coleto Creek (PCH), Wildcat Point (PCH),
|
||||
Wildcat Point-LP (PCH), BayTrail (SOC), Sunrise Point-H (PCH),
|
||||
Sunrise Point-LP (PCH), DNV (SOC), Broxton (SOC),
|
||||
Lewisburg (PCH).
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,i2c-i801))
|
||||
|
||||
|
||||
I2C_MUX_MODULES:= \
|
||||
CONFIG_I2C_MUX:drivers/i2c/i2c-mux
|
||||
|
||||
define KernelPackage/i2c-mux
|
||||
$(call i2c_defaults,$(I2C_MUX_MODULES),51)
|
||||
TITLE:=I2C bus multiplexing support
|
||||
DEPENDS:=kmod-i2c-core
|
||||
endef
|
||||
|
||||
define KernelPackage/i2c-mux/description
|
||||
Kernel modules for I2C bus multiplexing support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,i2c-mux))
|
||||
|
||||
I2C_MUX_GPIO_MODULES:= \
|
||||
CONFIG_I2C_MUX_GPIO:drivers/i2c/muxes/i2c-mux-gpio
|
||||
|
||||
define KernelPackage/i2c-mux-gpio
|
||||
$(call i2c_defaults,$(I2C_MUX_GPIO_MODULES),51)
|
||||
TITLE:=GPIO-based I2C mux/switches
|
||||
DEPENDS:=kmod-i2c-mux
|
||||
endef
|
||||
|
||||
define KernelPackage/i2c-mux-gpio/description
|
||||
Kernel modules for GENERIC_GPIO I2C bus mux/switching devices
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,i2c-mux-gpio))
|
||||
|
||||
|
||||
I2C_MUX_PCA9541_MODULES:= \
|
||||
CONFIG_I2C_MUX_PCA9541:drivers/i2c/muxes/i2c-mux-pca9541
|
||||
|
||||
define KernelPackage/i2c-mux-pca9541
|
||||
$(call i2c_defaults,$(I2C_MUX_PCA9541_MODULES),51)
|
||||
TITLE:=Philips PCA9541 I2C mux/switches
|
||||
DEPENDS:=kmod-i2c-mux
|
||||
endef
|
||||
|
||||
define KernelPackage/i2c-mux-pca9541/description
|
||||
Kernel modules for PCA9541 I2C bus mux/switching devices
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,i2c-mux-pca9541))
|
||||
|
||||
I2C_MUX_PCA954x_MODULES:= \
|
||||
CONFIG_I2C_MUX_PCA954x:drivers/i2c/muxes/i2c-mux-pca954x
|
||||
|
||||
define KernelPackage/i2c-mux-pca954x
|
||||
$(call i2c_defaults,$(I2C_MUX_PCA954x_MODULES),51)
|
||||
TITLE:=Philips PCA954x I2C mux/switches
|
||||
DEPENDS:=kmod-i2c-mux
|
||||
endef
|
||||
|
||||
define KernelPackage/i2c-mux-pca954x/description
|
||||
Kernel modules for PCA954x I2C bus mux/switching devices
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,i2c-mux-pca954x))
|
||||
|
||||
|
||||
I2C_PIIX4_MODULES:= \
|
||||
CONFIG_I2C_PIIX4:drivers/i2c/busses/i2c-piix4
|
||||
|
||||
define KernelPackage/i2c-piix4
|
||||
$(call i2c_defaults,$(I2C_PIIX4_MODULES),59)
|
||||
TITLE:=Intel PIIX4 and compatible I2C interfaces
|
||||
DEPENDS:=@PCI_SUPPORT @TARGET_x86 kmod-i2c-core
|
||||
endef
|
||||
|
||||
define KernelPackage/i2c-piix4/description
|
||||
Support for the Intel PIIX4 family of mainboard I2C interfaces,
|
||||
specifically Intel PIIX4, Intel 440MX, ATI IXP200, ATI IXP300,
|
||||
ATI IXP400, ATI SB600, ATI SB700/SP5100, ATI SB800, AMD Hudson-2,
|
||||
AMD ML, AMD CZ, Serverworks OSB4, Serverworks CSB5,
|
||||
Serverworks CSB6, Serverworks HT-1000, Serverworks HT-1100 and
|
||||
SMSC Victory66.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,i2c-piix4))
|
||||
|
||||
|
||||
I2C_SMBUS_MODULES:= \
|
||||
CONFIG_I2C_SMBUS:drivers/i2c/i2c-smbus
|
||||
|
||||
define KernelPackage/i2c-smbus
|
||||
$(call i2c_defaults,$(I2C_SMBUS_MODULES),58)
|
||||
TITLE:=SMBus-specific protocols helper
|
||||
DEPENDS:=kmod-i2c-core
|
||||
endef
|
||||
|
||||
define KernelPackage/i2c-smbus/description
|
||||
Support for the SMBus extensions to the I2C specification.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,i2c-smbus))
|
||||
|
||||
|
||||
|
||||
I2C_TINY_USB_MODULES:= \
|
||||
CONFIG_I2C_TINY_USB:drivers/i2c/busses/i2c-tiny-usb
|
||||
|
||||
define KernelPackage/i2c-tiny-usb
|
||||
$(call i2c_defaults,$(I2C_TINY_USB_MODULES),59)
|
||||
TITLE:=I2C Tiny USB adaptor
|
||||
DEPENDS:=@USB_SUPPORT kmod-i2c-core +kmod-usb-core
|
||||
endef
|
||||
|
||||
define KernelPackage/i2c-tiny-usb/description
|
||||
Kernel module for the I2C Tiny USB adaptor developed
|
||||
by Till Harbaum (http://www.harbaum.org/till/i2c_tiny_usb)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,i2c-tiny-usb))
|
||||
|
||||
|
||||
253
package/kernel/linux/modules/iio.mk
Normal file
253
package/kernel/linux/modules/iio.mk
Normal file
@@ -0,0 +1,253 @@
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
IIO_MENU:=Industrial I/O Modules
|
||||
|
||||
|
||||
define KernelPackage/iio-core
|
||||
SUBMENU:=$(IIO_MENU)
|
||||
TITLE:=Industrial IO core
|
||||
KCONFIG:= \
|
||||
CONFIG_IIO \
|
||||
CONFIG_IIO_BUFFER=y \
|
||||
CONFIG_IIO_KFIFO_BUF \
|
||||
CONFIG_IIO_TRIGGER=y \
|
||||
CONFIG_IIO_TRIGGERED_BUFFER
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/iio/industrialio.ko \
|
||||
$(if $(CONFIG_IIO_TRIGGERED_BUFFER),$(LINUX_DIR)/drivers/iio/industrialio-triggered-buffer.ko@lt4.4) \
|
||||
$(if $(CONFIG_IIO_TRIGGERED_BUFFER),$(LINUX_DIR)/drivers/iio/buffer/industrialio-triggered-buffer.ko@ge4.4) \
|
||||
$(LINUX_DIR)/drivers/iio/kfifo_buf.ko@lt4.4 \
|
||||
$(LINUX_DIR)/drivers/iio/buffer/kfifo_buf.ko@ge4.4
|
||||
AUTOLOAD:=$(call AutoLoad,55,industrialio kfifo_buf industrialio-triggered-buffer)
|
||||
endef
|
||||
|
||||
define KernelPackage/iio-core/description
|
||||
The industrial I/O subsystem provides a unified framework for
|
||||
drivers for many different types of embedded sensors using a
|
||||
number of different physical interfaces (i2c, spi, etc)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,iio-core))
|
||||
|
||||
|
||||
define KernelPackage/iio-ad799x
|
||||
SUBMENU:=$(IIO_MENU)
|
||||
DEPENDS:=+kmod-i2c-core +kmod-iio-core
|
||||
TITLE:=Analog Devices AD799x ADC driver
|
||||
KCONFIG:= \
|
||||
CONFIG_AD799X_RING_BUFFER=y \
|
||||
CONFIG_AD799X
|
||||
FILES:=$(LINUX_DIR)/drivers/iio/adc/ad799x.ko
|
||||
AUTOLOAD:=$(call AutoLoad,56,ad799x)
|
||||
endef
|
||||
|
||||
define KernelPackage/iio-ad799x/description
|
||||
support for Analog Devices:
|
||||
ad7991, ad7995, ad7999, ad7992, ad7993, ad7994, ad7997, ad7998
|
||||
i2c analog to digital converters (ADC).
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,iio-ad799x))
|
||||
|
||||
define KernelPackage/iio-hmc5843
|
||||
SUBMENU:=$(IIO_MENU)
|
||||
DEPENDS:=+kmod-i2c-core +kmod-iio-core +kmod-regmap-i2c
|
||||
TITLE:=Honeywell HMC58x3 Magnetometer
|
||||
KCONFIG:= CONFIG_SENSORS_HMC5843_I2C
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/iio/magnetometer/hmc5843_i2c.ko \
|
||||
$(LINUX_DIR)/drivers/iio/magnetometer/hmc5843_core.ko
|
||||
AUTOLOAD:=$(call AutoLoad,56,hmc5843)
|
||||
endef
|
||||
|
||||
define KernelPackage/iio-hmc5843/description
|
||||
Honeywell HMC5843/5883/5883L 3-Axis Magnetometer
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,iio-hmc5843))
|
||||
|
||||
define KernelPackage/iio-bh1750
|
||||
SUBMENU:=$(IIO_MENU)
|
||||
DEPENDS:=+kmod-i2c-core +kmod-iio-core
|
||||
TITLE:=ROHM BH1750 ambient light sensor
|
||||
KCONFIG:= CONFIG_BH1750
|
||||
FILES:=$(LINUX_DIR)/drivers/iio/light/bh1750.ko
|
||||
AUTOLOAD:=$(call AutoLoad,56,bh1750)
|
||||
endef
|
||||
define KernelPackage/iio-bh1750/description
|
||||
ROHM BH1750 ambient light sensor (i2c bus)
|
||||
endef
|
||||
$(eval $(call KernelPackage,iio-bh1750))
|
||||
|
||||
define KernelPackage/iio-am2315
|
||||
SUBMENU:=$(IIO_MENU)
|
||||
DEPENDS:=+kmod-i2c-core +kmod-iio-core
|
||||
TITLE:=Asong AM2315 humidity/temperature sensor
|
||||
KCONFIG:= CONFIG_AM2315
|
||||
FILES:=$(LINUX_DIR)/drivers/iio/humidity/am2315.ko
|
||||
AUTOLOAD:=$(call AutoLoad,56,am2315)
|
||||
endef
|
||||
define KernelPackage/iio-am2315/description
|
||||
Aosong AM2315 humidity/temperature sensor (I2C bus)
|
||||
endef
|
||||
$(eval $(call KernelPackage,iio-am2315))
|
||||
|
||||
define KernelPackage/iio-mxs-lradc
|
||||
SUBMENU:=$(IIO_MENU)
|
||||
DEPENDS:=@TARGET_mxs +kmod-iio-core
|
||||
TITLE:=Freescale i.MX23/i.MX28 LRADC ADC driver
|
||||
KCONFIG:= \
|
||||
CONFIG_MXS_LRADC_ADC
|
||||
FILES:=$(LINUX_DIR)/drivers/iio/adc/mxs-lradc-adc.ko
|
||||
AUTOLOAD:=$(call AutoLoad,56,mxs-lradc-adc)
|
||||
endef
|
||||
|
||||
define KernelPackage/iio-mxs-lradc/description
|
||||
Support for Freescale's i.MX23/i.MX28 SoC internal Low-Resolution ADC
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,iio-mxs-lradc))
|
||||
|
||||
define KernelPackage/iio-dht11
|
||||
SUBMENU:=$(IIO_MENU)
|
||||
DEPENDS:=+kmod-iio-core @GPIO_SUPPORT @USES_DEVICETREE
|
||||
TITLE:=DHT11 (and compatible) humidity and temperature sensors
|
||||
KCONFIG:= \
|
||||
CONFIG_DHT11
|
||||
FILES:=$(LINUX_DIR)/drivers/iio/humidity/dht11.ko
|
||||
AUTOLOAD:=$(call AutoLoad,56,dht11)
|
||||
endef
|
||||
|
||||
define KernelPackage/iio-dht11/description
|
||||
support for DHT11 and DHT22 digitial humidity and temperature sensors
|
||||
attached at GPIO lines. You will need a custom device tree file to
|
||||
specify the GPIO line to use.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,iio-dht11))
|
||||
|
||||
define KernelPackage/iio-bmp280
|
||||
SUBMENU:=$(IIO_MENU)
|
||||
TITLE:=BMP180/BMP280/BME280 pressure/temperatur sensor
|
||||
DEPENDS:=+kmod-iio-core +kmod-regmap-core
|
||||
KCONFIG:=CONFIG_BMP280
|
||||
FILES:=$(LINUX_DIR)/drivers/iio/pressure/bmp280.ko
|
||||
endef
|
||||
|
||||
define KernelPackage/iio-bmp280/description
|
||||
This driver adds support for Bosch Sensortec BMP180 and BMP280 pressure and
|
||||
temperature sensors. Also supports the BME280 with an additional humidity
|
||||
sensor channel.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,iio-bmp280))
|
||||
|
||||
|
||||
define KernelPackage/iio-bmp280-i2c
|
||||
SUBMENU:=$(IIO_MENU)
|
||||
TITLE:=BMP180/BMP280/BME280 pressure/temperatur sensor (I2C)
|
||||
DEPENDS:=+kmod-iio-bmp280 +kmod-i2c-core +kmod-regmap-i2c
|
||||
KCONFIG:=CONFIG_BMP280_I2C
|
||||
FILES:=$(LINUX_DIR)/drivers/iio/pressure/bmp280-i2c.ko
|
||||
AUTOLOAD:=$(call AutoProbe,bmp280-i2c)
|
||||
endef
|
||||
define KernelPackage/iio-bmp280-i2c/description
|
||||
This driver adds support for Bosch Sensortec's digital pressure and
|
||||
temperature sensor connected via I2C.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,iio-bmp280-i2c))
|
||||
|
||||
|
||||
define KernelPackage/iio-bmp280-spi
|
||||
SUBMENU:=$(IIO_MENU)
|
||||
TITLE:=BMP180/BMP280/BME280 pressure/temperatur sensor (SPI)
|
||||
DEPENDS:=+kmod-iio-bmp280 +kmod-spi-bitbang
|
||||
KCONFIG:=CONFIG_BMP280_SPI
|
||||
FILES:=$(LINUX_DIR)/drivers/iio/pressure/bmp280-spi.ko
|
||||
AUTOLOAD:=$(call AutoProbe,bmp280-spi)
|
||||
endef
|
||||
define KernelPackage/iio-bmp280-spi/description
|
||||
This driver adds support for Bosch Sensortec's digital pressure and
|
||||
temperature sensor connected via SPI.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,iio-bmp280-spi))
|
||||
|
||||
define KernelPackage/iio-htu21
|
||||
SUBMENU:=$(IIO_MENU)
|
||||
DEPENDS:=+kmod-i2c-core +kmod-iio-core
|
||||
TITLE:=HTU21 humidity & temperature sensor
|
||||
KCONFIG:= \
|
||||
CONFIG_HTU21 \
|
||||
CONFIG_IIO_MS_SENSORS_I2C
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/iio/humidity/htu21.ko \
|
||||
$(LINUX_DIR)/drivers/iio/common/ms_sensors/ms_sensors_i2c.ko
|
||||
AUTOLOAD:=$(call AutoLoad,56,htu21)
|
||||
endef
|
||||
|
||||
define KernelPackage/iio-htu21/description
|
||||
support for the Measurement Specialties HTU21 humidity and
|
||||
temperature sensor.
|
||||
This driver is also used for MS8607 temperature, pressure & humidity
|
||||
sensor
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,iio-htu21))
|
||||
|
||||
|
||||
define KernelPackage/iio-ccs811
|
||||
SUBMENU:=$(IIO_MENU)
|
||||
DEPENDS:=+kmod-i2c-core +kmod-iio-core
|
||||
TITLE:=AMS CCS811 VOC sensor
|
||||
KCONFIG:= \
|
||||
CONFIG_CCS811
|
||||
FILES:= $(LINUX_DIR)/drivers/iio/chemical/ccs811.ko
|
||||
AUTOLOAD:=$(call AutoLoad,56,ccs811)
|
||||
endef
|
||||
|
||||
define KernelPackage/iio-ccs811/description
|
||||
Support for the AMS CCS811 VOC (Volatile Organic Compounds) sensor
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,iio-ccs811))
|
||||
|
||||
|
||||
define KernelPackage/iio-si7020
|
||||
SUBMENU:=$(IIO_MENU)
|
||||
DEPENDS:=+kmod-i2c-core +kmod-iio-core
|
||||
TITLE:=Silicon Labs Si7020 sensor
|
||||
KCONFIG:= CONFIG_SI7020
|
||||
FILES:=$(LINUX_DIR)/drivers/iio/humidity/si7020.ko
|
||||
AUTOLOAD:=$(call AutoLoad,56,si7020)
|
||||
endef
|
||||
|
||||
define KernelPackage/iio-si7020/description
|
||||
Support for Silicon Labs Si7020 family of relative humidity and
|
||||
temperature sensors connected via I2C. Following models are usable:
|
||||
Si7013, Si7020, Si7021, Hoperf TH06.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,iio-si7020))
|
||||
|
||||
|
||||
define KernelPackage/iio-tsl4531
|
||||
SUBMENU:=$(IIO_MENU)
|
||||
DEPENDS:=+kmod-i2c-core +kmod-iio-core
|
||||
TITLE:=TAOS TSL4531 ambient light sensor
|
||||
KCONFIG:= CONFIG_TSL4531
|
||||
FILES:=$(LINUX_DIR)/drivers/iio/light/tsl4531.ko
|
||||
AUTOLOAD:=$(call AutoLoad,56,tsl4531)
|
||||
endef
|
||||
|
||||
define KernelPackage/iio-tsl4531/description
|
||||
Support for TAOS TSL4531x family of ambient light sensors
|
||||
connected via I2C. Following models are usable:
|
||||
TSL45311, TSL45313, TSL45315, TSL45317.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,iio-tsl4531))
|
||||
228
package/kernel/linux/modules/input.mk
Normal file
228
package/kernel/linux/modules/input.mk
Normal file
@@ -0,0 +1,228 @@
|
||||
#
|
||||
# Copyright (C) 2006-2013 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
INPUT_MODULES_MENU:=Input modules
|
||||
|
||||
define KernelPackage/hid
|
||||
SUBMENU:=$(INPUT_MODULES_MENU)
|
||||
TITLE:=HID Devices
|
||||
DEPENDS:=+kmod-input-core +kmod-input-evdev
|
||||
KCONFIG:=CONFIG_HID CONFIG_HIDRAW=y CONFIG_HID_BATTERY_STRENGTH=y
|
||||
FILES:=$(LINUX_DIR)/drivers/hid/hid.ko
|
||||
AUTOLOAD:=$(call AutoLoad,61,hid)
|
||||
endef
|
||||
|
||||
define KernelPackage/hid/description
|
||||
Kernel modules for HID devices
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hid))
|
||||
|
||||
define KernelPackage/hid-generic
|
||||
SUBMENU:=$(INPUT_MODULES_MENU)
|
||||
TITLE:=Generic HID device support
|
||||
DEPENDS:=+kmod-hid
|
||||
KCONFIG:=CONFIG_HID_GENERIC
|
||||
FILES:=$(LINUX_DIR)/drivers/hid/hid-generic.ko
|
||||
AUTOLOAD:=$(call AutoProbe,hid-generic)
|
||||
endef
|
||||
|
||||
define KernelPackage/hid/description
|
||||
Kernel modules for generic HID device (e.g. keyboards and mice) support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hid-generic))
|
||||
|
||||
define KernelPackage/input-core
|
||||
SUBMENU:=$(INPUT_MODULES_MENU)
|
||||
TITLE:=Input device core
|
||||
KCONFIG:=CONFIG_INPUT
|
||||
FILES:=$(LINUX_DIR)/drivers/input/input-core.ko
|
||||
endef
|
||||
|
||||
define KernelPackage/input-core/description
|
||||
Kernel modules for support of input device
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,input-core))
|
||||
|
||||
|
||||
define KernelPackage/input-evdev
|
||||
SUBMENU:=$(INPUT_MODULES_MENU)
|
||||
TITLE:=Input event device
|
||||
DEPENDS:=+kmod-input-core
|
||||
KCONFIG:=CONFIG_INPUT_EVDEV
|
||||
FILES:=$(LINUX_DIR)/drivers/input/evdev.ko
|
||||
AUTOLOAD:=$(call AutoLoad,60,evdev)
|
||||
endef
|
||||
|
||||
define KernelPackage/input-evdev/description
|
||||
Kernel modules for support of input device events
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,input-evdev))
|
||||
|
||||
|
||||
define KernelPackage/input-gpio-keys
|
||||
SUBMENU:=$(INPUT_MODULES_MENU)
|
||||
TITLE:=GPIO key support
|
||||
DEPENDS:= @GPIO_SUPPORT +kmod-input-core
|
||||
KCONFIG:= \
|
||||
CONFIG_KEYBOARD_GPIO \
|
||||
CONFIG_INPUT_KEYBOARD=y
|
||||
FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys.ko
|
||||
AUTOLOAD:=$(call AutoProbe,gpio_keys,1)
|
||||
endef
|
||||
|
||||
define KernelPackage/input-gpio-keys/description
|
||||
This driver implements support for buttons connected
|
||||
to GPIO pins of various CPUs (and some other chips).
|
||||
|
||||
See also gpio-button-hotplug which is an alternative, lower overhead
|
||||
implementation that generates uevents instead of kernel input events.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,input-gpio-keys))
|
||||
|
||||
|
||||
define KernelPackage/input-gpio-keys-polled
|
||||
SUBMENU:=$(INPUT_MODULES_MENU)
|
||||
TITLE:=Polled GPIO key support
|
||||
DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev
|
||||
KCONFIG:= \
|
||||
CONFIG_KEYBOARD_GPIO_POLLED \
|
||||
CONFIG_INPUT_KEYBOARD=y
|
||||
FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys_polled.ko
|
||||
AUTOLOAD:=$(call AutoProbe,gpio_keys_polled,1)
|
||||
endef
|
||||
|
||||
define KernelPackage/input-gpio-keys-polled/description
|
||||
Kernel module for support polled GPIO keys input device
|
||||
|
||||
See also gpio-button-hotplug which is an alternative, lower overhead
|
||||
implementation that generates uevents instead of kernel input events.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,input-gpio-keys-polled))
|
||||
|
||||
|
||||
define KernelPackage/input-gpio-encoder
|
||||
SUBMENU:=$(INPUT_MODULES_MENU)
|
||||
TITLE:=GPIO rotary encoder
|
||||
DEPENDS:=@GPIO_SUPPORT +kmod-input-core
|
||||
KCONFIG:=CONFIG_INPUT_GPIO_ROTARY_ENCODER
|
||||
FILES:=$(LINUX_DIR)/drivers/input/misc/rotary_encoder.ko
|
||||
AUTOLOAD:=$(call AutoProbe,rotary_encoder)
|
||||
endef
|
||||
|
||||
define KernelPackage/gpio-encoder/description
|
||||
Kernel module to use rotary encoders connected to GPIO pins
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,input-gpio-encoder))
|
||||
|
||||
|
||||
define KernelPackage/input-joydev
|
||||
SUBMENU:=$(INPUT_MODULES_MENU)
|
||||
TITLE:=Joystick device support
|
||||
DEPENDS:=+kmod-input-core
|
||||
KCONFIG:=CONFIG_INPUT_JOYDEV
|
||||
FILES:=$(LINUX_DIR)/drivers/input/joydev.ko
|
||||
AUTOLOAD:=$(call AutoProbe,joydev)
|
||||
endef
|
||||
|
||||
define KernelPackage/input-joydev/description
|
||||
Kernel module for joystick support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,input-joydev))
|
||||
|
||||
|
||||
define KernelPackage/input-polldev
|
||||
SUBMENU:=$(INPUT_MODULES_MENU)
|
||||
TITLE:=Polled Input device support
|
||||
DEPENDS:=+kmod-input-core
|
||||
KCONFIG:=CONFIG_INPUT_POLLDEV
|
||||
FILES:=$(LINUX_DIR)/drivers/input/input-polldev.ko
|
||||
endef
|
||||
|
||||
define KernelPackage/input-polldev/description
|
||||
Kernel module for support of polled input devices
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,input-polldev))
|
||||
|
||||
|
||||
define KernelPackage/input-matrixkmap
|
||||
SUBMENU:=$(INPUT_MODULES_MENU)
|
||||
TITLE:=Input matrix devices support
|
||||
DEPENDS:=+kmod-input-core
|
||||
KCONFIG:=CONFIG_INPUT_MATRIXKMAP
|
||||
FILES:=$(LINUX_DIR)/drivers/input/matrix-keymap.ko
|
||||
AUTOLOAD:=$(call AutoProbe,matrix-keymap)
|
||||
endef
|
||||
|
||||
define KernelPackage/input-matrix/description
|
||||
Kernel module support for input matrix devices
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,input-matrixkmap))
|
||||
|
||||
|
||||
define KernelPackage/input-touchscreen-ads7846
|
||||
SUBMENU:=$(INPUT_MODULES_MENU)
|
||||
TITLE:=ADS7846/TSC2046/AD7873 and AD(S)7843 based touchscreens
|
||||
DEPENDS:=+kmod-hwmon-core +kmod-input-core +kmod-spi-bitbang
|
||||
KCONFIG:= \
|
||||
CONFIG_INPUT_TOUCHSCREEN=y \
|
||||
CONFIG_TOUCHSCREEN_PROPERTIES=y \
|
||||
CONFIG_TOUCHSCREEN_ADS7846
|
||||
FILES:=$(LINUX_DIR)/drivers/input/touchscreen/ads7846.ko
|
||||
AUTOLOAD:=$(call AutoProbe,ads7846)
|
||||
endef
|
||||
|
||||
define KernelPackage/input-touchscreen-ads7846/description
|
||||
Kernel module for ADS7846/TSC2046/AD7873 and AD(S)7843 based touchscreens
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,input-touchscreen-ads7846))
|
||||
|
||||
|
||||
define KernelPackage/keyboard-imx
|
||||
SUBMENU:=$(INPUT_MODULES_MENU)
|
||||
TITLE:=IMX keypad support
|
||||
DEPENDS:=@(TARGET_mxs||TARGET_imx6) +kmod-input-matrixkmap
|
||||
KCONFIG:= \
|
||||
CONFIG_KEYBOARD_IMX \
|
||||
CONFIG_INPUT_KEYBOARD=y
|
||||
FILES:=$(LINUX_DIR)/drivers/input/keyboard/imx_keypad.ko
|
||||
AUTOLOAD:=$(call AutoProbe,imx_keypad)
|
||||
endef
|
||||
|
||||
define KernelPackage/keyboard-imx/description
|
||||
Enable support for IMX keypad port.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,keyboard-imx))
|
||||
|
||||
|
||||
define KernelPackage/input-uinput
|
||||
SUBMENU:=$(INPUT_MODULES_MENU)
|
||||
TITLE:=user input module
|
||||
DEPENDS:=+kmod-input-core
|
||||
KCONFIG:= \
|
||||
CONFIG_INPUT_MISC=y \
|
||||
CONFIG_INPUT_UINPUT
|
||||
FILES:=$(LINUX_DIR)/drivers/input/misc/uinput.ko
|
||||
AUTOLOAD:=$(call AutoProbe,uinput)
|
||||
endef
|
||||
|
||||
define KernelPackage/input-uinput/description
|
||||
user input modules needed for bluez
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,input-uinput))
|
||||
147
package/kernel/linux/modules/leds.mk
Normal file
147
package/kernel/linux/modules/leds.mk
Normal file
@@ -0,0 +1,147 @@
|
||||
#
|
||||
# Copyright (C) 2006-2011 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
LEDS_MENU:=LED modules
|
||||
|
||||
define KernelPackage/leds-gpio
|
||||
SUBMENU:=$(LEDS_MENU)
|
||||
TITLE:=GPIO LED support
|
||||
DEPENDS:= @GPIO_SUPPORT
|
||||
KCONFIG:=CONFIG_LEDS_GPIO
|
||||
FILES:=$(LINUX_DIR)/drivers/leds/leds-gpio.ko
|
||||
AUTOLOAD:=$(call AutoLoad,60,leds-gpio,1)
|
||||
endef
|
||||
|
||||
define KernelPackage/leds-gpio/description
|
||||
Kernel module for LEDs on GPIO lines
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,leds-gpio))
|
||||
|
||||
LED_TRIGGER_DIR=$(LINUX_DIR)/drivers/leds/trigger
|
||||
|
||||
define KernelPackage/ledtrig-heartbeat
|
||||
SUBMENU:=$(LEDS_MENU)
|
||||
TITLE:=LED Heartbeat Trigger
|
||||
KCONFIG:=CONFIG_LEDS_TRIGGER_HEARTBEAT
|
||||
FILES:=$(LED_TRIGGER_DIR)/ledtrig-heartbeat.ko
|
||||
AUTOLOAD:=$(call AutoLoad,50,ledtrig-heartbeat)
|
||||
endef
|
||||
|
||||
define KernelPackage/ledtrig-heartbeat/description
|
||||
Kernel module that allows LEDs to blink like heart beat
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,ledtrig-heartbeat))
|
||||
|
||||
|
||||
define KernelPackage/ledtrig-gpio
|
||||
SUBMENU:=$(LEDS_MENU)
|
||||
TITLE:=LED GPIO Trigger
|
||||
KCONFIG:=CONFIG_LEDS_TRIGGER_GPIO
|
||||
FILES:=$(LED_TRIGGER_DIR)/ledtrig-gpio.ko
|
||||
AUTOLOAD:=$(call AutoLoad,50,ledtrig-gpio)
|
||||
endef
|
||||
|
||||
define KernelPackage/ledtrig-gpio/description
|
||||
Kernel module that allows LEDs to be controlled by gpio events
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,ledtrig-gpio))
|
||||
|
||||
|
||||
define KernelPackage/ledtrig-netdev
|
||||
SUBMENU:=$(LEDS_MENU)
|
||||
TITLE:=LED NETDEV Trigger
|
||||
KCONFIG:=CONFIG_LEDS_TRIGGER_NETDEV
|
||||
FILES:=$(LINUX_DIR)/drivers/leds/trigger/ledtrig-netdev.ko
|
||||
AUTOLOAD:=$(call AutoLoad,50,ledtrig-netdev)
|
||||
endef
|
||||
|
||||
define KernelPackage/ledtrig-netdev/description
|
||||
Kernel module to drive LEDs based on network activity
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,ledtrig-netdev))
|
||||
|
||||
|
||||
define KernelPackage/ledtrig-default-on
|
||||
SUBMENU:=$(LEDS_MENU)
|
||||
TITLE:=LED Default ON Trigger
|
||||
KCONFIG:=CONFIG_LEDS_TRIGGER_DEFAULT_ON
|
||||
FILES:=$(LED_TRIGGER_DIR)/ledtrig-default-on.ko
|
||||
AUTOLOAD:=$(call AutoLoad,50,ledtrig-default-on,1)
|
||||
endef
|
||||
|
||||
define KernelPackage/ledtrig-default-on/description
|
||||
Kernel module that allows LEDs to be initialised in the ON state
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,ledtrig-default-on))
|
||||
|
||||
|
||||
define KernelPackage/ledtrig-timer
|
||||
SUBMENU:=$(LEDS_MENU)
|
||||
TITLE:=LED Timer Trigger
|
||||
KCONFIG:=CONFIG_LEDS_TRIGGER_TIMER
|
||||
FILES:=$(LED_TRIGGER_DIR)/ledtrig-timer.ko
|
||||
AUTOLOAD:=$(call AutoLoad,50,ledtrig-timer,1)
|
||||
endef
|
||||
|
||||
define KernelPackage/ledtrig-timer/description
|
||||
Kernel module that allows LEDs to be controlled by a programmable timer
|
||||
via sysfs
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,ledtrig-timer))
|
||||
|
||||
|
||||
define KernelPackage/ledtrig-transient
|
||||
SUBMENU:=$(LEDS_MENU)
|
||||
TITLE:=LED Transient Trigger
|
||||
KCONFIG:=CONFIG_LEDS_TRIGGER_TRANSIENT
|
||||
FILES:=$(LED_TRIGGER_DIR)/ledtrig-transient.ko
|
||||
AUTOLOAD:=$(call AutoLoad,50,ledtrig-transient,1)
|
||||
endef
|
||||
|
||||
define KernelPackage/ledtrig-transient/description
|
||||
Kernel module that allows LEDs one time activation of a transient state.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,ledtrig-transient))
|
||||
|
||||
|
||||
define KernelPackage/ledtrig-oneshot
|
||||
SUBMENU:=$(LEDS_MENU)
|
||||
TITLE:=LED One-Shot Trigger
|
||||
KCONFIG:=CONFIG_LEDS_TRIGGER_ONESHOT
|
||||
FILES:=$(LED_TRIGGER_DIR)/ledtrig-oneshot.ko
|
||||
AUTOLOAD:=$(call AutoLoad,50,ledtrig-oneshot)
|
||||
endef
|
||||
|
||||
define KernelPackage/ledtrig-oneshot/description
|
||||
Kernel module that allows LEDs to be triggered by sporadic events in
|
||||
one-shot pulses
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,ledtrig-oneshot))
|
||||
|
||||
|
||||
define KernelPackage/leds-pca963x
|
||||
SUBMENU:=$(LEDS_MENU)
|
||||
TITLE:=PCA963x LED support
|
||||
DEPENDS:=+kmod-i2c-core
|
||||
KCONFIG:=CONFIG_LEDS_PCA963X
|
||||
FILES:=$(LINUX_DIR)/drivers/leds/leds-pca963x.ko
|
||||
AUTOLOAD:=$(call AutoLoad,60,leds-pca963x,1)
|
||||
endef
|
||||
|
||||
define KernelPackage/leds-pca963x/description
|
||||
Driver for the NXP PCA963x I2C LED controllers.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,leds-pca963x))
|
||||
273
package/kernel/linux/modules/lib.mk
Normal file
273
package/kernel/linux/modules/lib.mk
Normal file
@@ -0,0 +1,273 @@
|
||||
#
|
||||
# Copyright (C) 2011 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
LIB_MENU:=Libraries
|
||||
|
||||
define KernelPackage/lib-crc-ccitt
|
||||
SUBMENU:=$(LIB_MENU)
|
||||
TITLE:=CRC-CCITT support
|
||||
KCONFIG:=CONFIG_CRC_CCITT
|
||||
FILES:=$(LINUX_DIR)/lib/crc-ccitt.ko
|
||||
AUTOLOAD:=$(call AutoProbe,crc-ccitt)
|
||||
endef
|
||||
|
||||
define KernelPackage/lib-crc-ccitt/description
|
||||
Kernel module for CRC-CCITT support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,lib-crc-ccitt))
|
||||
|
||||
|
||||
define KernelPackage/lib-crc-itu-t
|
||||
SUBMENU:=$(LIB_MENU)
|
||||
TITLE:=CRC ITU-T V.41 support
|
||||
KCONFIG:=CONFIG_CRC_ITU_T
|
||||
FILES:=$(LINUX_DIR)/lib/crc-itu-t.ko
|
||||
AUTOLOAD:=$(call AutoProbe,crc-itu-t)
|
||||
endef
|
||||
|
||||
define KernelPackage/lib-crc-itu-t/description
|
||||
Kernel module for CRC ITU-T V.41 support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,lib-crc-itu-t))
|
||||
|
||||
|
||||
define KernelPackage/lib-crc7
|
||||
SUBMENU:=$(LIB_MENU)
|
||||
TITLE:=CRC7 support
|
||||
KCONFIG:=CONFIG_CRC7
|
||||
FILES:=$(LINUX_DIR)/lib/crc7.ko
|
||||
AUTOLOAD:=$(call AutoProbe,crc7)
|
||||
endef
|
||||
|
||||
define KernelPackage/lib-crc7/description
|
||||
Kernel module for CRC7 support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,lib-crc7))
|
||||
|
||||
|
||||
define KernelPackage/lib-crc8
|
||||
SUBMENU:=$(LIB_MENU)
|
||||
TITLE:=CRC8 support
|
||||
KCONFIG:=CONFIG_CRC8
|
||||
FILES:=$(LINUX_DIR)/lib/crc8.ko
|
||||
AUTOLOAD:=$(call AutoProbe,crc8)
|
||||
endef
|
||||
|
||||
define KernelPackage/lib-crc8/description
|
||||
Kernel module for CRC8 support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,lib-crc8))
|
||||
|
||||
|
||||
define KernelPackage/lib-crc16
|
||||
SUBMENU:=$(LIB_MENU)
|
||||
TITLE:=CRC16 support
|
||||
KCONFIG:=CONFIG_CRC16
|
||||
FILES:=$(LINUX_DIR)/lib/crc16.ko
|
||||
AUTOLOAD:=$(call AutoLoad,20,crc16,1)
|
||||
endef
|
||||
|
||||
define KernelPackage/lib-crc16/description
|
||||
Kernel module for CRC16 support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,lib-crc16))
|
||||
|
||||
|
||||
define KernelPackage/lib-crc32c
|
||||
SUBMENU:=$(LIB_MENU)
|
||||
TITLE:=CRC32 support
|
||||
KCONFIG:=CONFIG_LIBCRC32C
|
||||
DEPENDS:=+kmod-crypto-crc32c
|
||||
FILES:=$(LINUX_DIR)/lib/libcrc32c.ko
|
||||
AUTOLOAD:=$(call AutoProbe,libcrc32c)
|
||||
endef
|
||||
|
||||
define KernelPackage/lib-crc32c/description
|
||||
Kernel module for CRC32 support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,lib-crc32c))
|
||||
|
||||
|
||||
define KernelPackage/lib-lzo
|
||||
SUBMENU:=$(LIB_MENU)
|
||||
TITLE:=LZO support
|
||||
DEPENDS:=+!LINUX_4_9:kmod-crypto-acompress
|
||||
KCONFIG:= \
|
||||
CONFIG_CRYPTO_LZO@ge4.9 \
|
||||
CONFIG_LZO_COMPRESS \
|
||||
CONFIG_LZO_DECOMPRESS
|
||||
HIDDEN:=1
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/crypto/lzo.ko@ge4.9 \
|
||||
$(LINUX_DIR)/lib/lzo/lzo_compress.ko \
|
||||
$(LINUX_DIR)/lib/lzo/lzo_decompress.ko
|
||||
AUTOLOAD:=$(call AutoProbe,lzo@ge4.9 lzo_compress lzo_decompress)
|
||||
endef
|
||||
|
||||
define KernelPackage/lib-lzo/description
|
||||
Kernel module for LZO compression/decompression support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,lib-lzo))
|
||||
|
||||
|
||||
define KernelPackage/lib-zstd
|
||||
SUBMENU:=$(LIB_MENU)
|
||||
TITLE:=ZSTD support
|
||||
KCONFIG:= \
|
||||
CONFIG_ZSTD_COMPRESS \
|
||||
CONFIG_ZSTD_DECOMPRESS \
|
||||
CONFIG_XXHASH
|
||||
HIDDEN:=1
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/lib/xxhash.ko \
|
||||
$(LINUX_DIR)/lib/zstd/zstd_compress.ko \
|
||||
$(LINUX_DIR)/lib/zstd/zstd_decompress.ko
|
||||
AUTOLOAD:=$(call AutoProbe,xxhash zstd_compress zstd_decompress)
|
||||
endef
|
||||
|
||||
define KernelPackage/lib-zstd/description
|
||||
Kernel module for ZSTD compression/decompression support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,lib-zstd))
|
||||
|
||||
|
||||
define KernelPackage/lib-lz4
|
||||
SUBMENU:=$(LIB_MENU)
|
||||
TITLE:=LZ4 support
|
||||
DEPENDS:=+!LINUX_4_9:kmod-crypto-acompress
|
||||
HIDDEN:=1
|
||||
KCONFIG:= \
|
||||
CONFIG_CRYPTO_LZ4@ge4.9 \
|
||||
CONFIG_LZ4_COMPRESS \
|
||||
CONFIG_LZ4_DECOMPRESS
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/crypto/lz4.ko@ge4.9 \
|
||||
$(LINUX_DIR)/lib/lz4/lz4_compress.ko \
|
||||
$(LINUX_DIR)/lib/lz4/lz4_decompress.ko
|
||||
AUTOLOAD:=$(call AutoProbe,lz4@ge4.9 lz4_compress lz4_decompress)
|
||||
endef
|
||||
|
||||
define KernelPackage/lib-lz4/description
|
||||
Kernel module for LZ4 compression/decompression support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,lib-lz4))
|
||||
|
||||
|
||||
define KernelPackage/lib-raid6
|
||||
SUBMENU:=$(LIB_MENU)
|
||||
TITLE:=RAID6 algorithm support
|
||||
HIDDEN:=1
|
||||
KCONFIG:=CONFIG_RAID6_PQ
|
||||
FILES:=$(LINUX_DIR)/lib/raid6/raid6_pq.ko
|
||||
AUTOLOAD:=$(call AutoProbe,raid6_pq)
|
||||
endef
|
||||
|
||||
define KernelPackage/lib-raid6/description
|
||||
Kernel module for RAID6 algorithms
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,lib-raid6))
|
||||
|
||||
|
||||
define KernelPackage/lib-xor
|
||||
SUBMENU:=$(LIB_MENU)
|
||||
TITLE:=XOR blocks algorithm support
|
||||
HIDDEN:=1
|
||||
KCONFIG:=CONFIG_XOR_BLOCKS
|
||||
ifneq ($(wildcard $(LINUX_DIR)/arch/arm/lib/xor-neon.ko),)
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/crypto/xor.ko \
|
||||
$(LINUX_DIR)/arch/arm/lib/xor-neon.ko
|
||||
AUTOLOAD:=$(call AutoProbe,xor-neon xor)
|
||||
else
|
||||
FILES:=$(LINUX_DIR)/crypto/xor.ko
|
||||
AUTOLOAD:=$(call AutoProbe,xor)
|
||||
endif
|
||||
endef
|
||||
|
||||
define KernelPackage/lib-xor/description
|
||||
Kernel module for XOR blocks algorithms
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,lib-xor))
|
||||
|
||||
|
||||
define KernelPackage/lib-textsearch
|
||||
SUBMENU:=$(LIB_MENU)
|
||||
TITLE:=Textsearch support
|
||||
KCONFIG:= \
|
||||
CONFIG_TEXTSEARCH=y \
|
||||
CONFIG_TEXTSEARCH_KMP \
|
||||
CONFIG_TEXTSEARCH_BM \
|
||||
CONFIG_TEXTSEARCH_FSM
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/lib/ts_kmp.ko \
|
||||
$(LINUX_DIR)/lib/ts_bm.ko \
|
||||
$(LINUX_DIR)/lib/ts_fsm.ko
|
||||
AUTOLOAD:=$(call AutoProbe,ts_kmp ts_bm ts_fsm)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,lib-textsearch))
|
||||
|
||||
|
||||
define KernelPackage/lib-zlib-inflate
|
||||
SUBMENU:=$(LIB_MENU)
|
||||
TITLE:=Zlib support
|
||||
HIDDEN:=1
|
||||
KCONFIG:=CONFIG_ZLIB_INFLATE
|
||||
FILES:=$(LINUX_DIR)/lib/zlib_inflate/zlib_inflate.ko
|
||||
AUTOLOAD:=$(call AutoProbe,zlib_inflate)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,lib-zlib-inflate))
|
||||
|
||||
|
||||
define KernelPackage/lib-zlib-deflate
|
||||
SUBMENU:=$(LIB_MENU)
|
||||
TITLE:=Zlib support
|
||||
HIDDEN:=1
|
||||
KCONFIG:=CONFIG_ZLIB_DEFLATE
|
||||
FILES:=$(LINUX_DIR)/lib/zlib_deflate/zlib_deflate.ko
|
||||
AUTOLOAD:=$(call AutoProbe,zlib_deflate)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,lib-zlib-deflate))
|
||||
|
||||
|
||||
define KernelPackage/lib-cordic
|
||||
SUBMENU:=$(LIB_MENU)
|
||||
TITLE:=Cordic function support
|
||||
KCONFIG:=CONFIG_CORDIC
|
||||
FILES:=$(LINUX_DIR)/lib/cordic.ko
|
||||
AUTOLOAD:=$(call AutoProbe,cordic)
|
||||
endef
|
||||
|
||||
define KernelPackage/lib-cordic/description
|
||||
Kernel module for Cordic function support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,lib-cordic))
|
||||
|
||||
|
||||
define KernelPackage/asn1-decoder
|
||||
SUBMENU:=$(LIB_MENU)
|
||||
TITLE:=Simple ASN1 decoder
|
||||
KCONFIG:= CONFIG_ASN1
|
||||
HIDDEN:=1
|
||||
FILES:=$(LINUX_DIR)/lib/asn1_decoder.ko
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,asn1-decoder))
|
||||
1015
package/kernel/linux/modules/netdevices.mk
Normal file
1015
package/kernel/linux/modules/netdevices.mk
Normal file
File diff suppressed because it is too large
Load Diff
1181
package/kernel/linux/modules/netfilter.mk
Normal file
1181
package/kernel/linux/modules/netfilter.mk
Normal file
File diff suppressed because it is too large
Load Diff
1224
package/kernel/linux/modules/netsupport.mk
Normal file
1224
package/kernel/linux/modules/netsupport.mk
Normal file
File diff suppressed because it is too large
Load Diff
339
package/kernel/linux/modules/nls.mk
Normal file
339
package/kernel/linux/modules/nls.mk
Normal file
@@ -0,0 +1,339 @@
|
||||
#
|
||||
# Copyright (C) 2006-2011 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
define KernelPackage/nls-base
|
||||
SUBMENU:=Native Language Support
|
||||
TITLE:=Native Language Support
|
||||
KCONFIG:=CONFIG_NLS
|
||||
FILES:=$(LINUX_DIR)/fs/nls/nls_base.ko
|
||||
endef
|
||||
|
||||
define KernelPackage/nls-base/description
|
||||
Kernel module for NLS (Native Language Support)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nls-base))
|
||||
|
||||
|
||||
define KernelPackage/nls-cp437
|
||||
SUBMENU:=Native Language Support
|
||||
TITLE:=Codepage 437 (United States, Canada)
|
||||
KCONFIG:=CONFIG_NLS_CODEPAGE_437
|
||||
FILES:=$(LINUX_DIR)/fs/nls/nls_cp437.ko
|
||||
AUTOLOAD:=$(call AutoLoad,25,nls_cp437)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/nls-cp437/description
|
||||
Kernel module for NLS Codepage 437 (United States, Canada)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nls-cp437))
|
||||
|
||||
|
||||
define KernelPackage/nls-cp775
|
||||
SUBMENU:=Native Language Support
|
||||
TITLE:=Codepage 775 (Baltic Rim)
|
||||
KCONFIG:=CONFIG_NLS_CODEPAGE_775
|
||||
FILES:=$(LINUX_DIR)/fs/nls/nls_cp775.ko
|
||||
AUTOLOAD:=$(call AutoLoad,25,nls_cp775)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/nls-cp775/description
|
||||
Kernel module for NLS Codepage 775 (Baltic Rim)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nls-cp775))
|
||||
|
||||
|
||||
define KernelPackage/nls-cp850
|
||||
SUBMENU:=Native Language Support
|
||||
TITLE:=Codepage 850 (Europe)
|
||||
KCONFIG:=CONFIG_NLS_CODEPAGE_850
|
||||
FILES:=$(LINUX_DIR)/fs/nls/nls_cp850.ko
|
||||
AUTOLOAD:=$(call AutoLoad,25,nls_cp850)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/nls-cp850/description
|
||||
Kernel module for NLS Codepage 850 (Europe)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nls-cp850))
|
||||
|
||||
|
||||
define KernelPackage/nls-cp852
|
||||
SUBMENU:=Native Language Support
|
||||
TITLE:=Codepage 852 (Europe)
|
||||
KCONFIG:=CONFIG_NLS_CODEPAGE_852
|
||||
FILES:=$(LINUX_DIR)/fs/nls/nls_cp852.ko
|
||||
AUTOLOAD:=$(call AutoLoad,25,nls_cp852)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/nls-cp852/description
|
||||
Kernel module for NLS Codepage 852 (Europe)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nls-cp852))
|
||||
|
||||
|
||||
define KernelPackage/nls-cp862
|
||||
SUBMENU:=Native Language Support
|
||||
TITLE:=Codepage 862 (Hebrew)
|
||||
KCONFIG:=CONFIG_NLS_CODEPAGE_862
|
||||
FILES:=$(LINUX_DIR)/fs/nls/nls_cp862.ko
|
||||
AUTOLOAD:=$(call AutoLoad,25,nls_cp862)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/nls-cp862/description
|
||||
Kernel module for NLS Codepage 862 (Hebrew)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nls-cp862))
|
||||
|
||||
|
||||
define KernelPackage/nls-cp864
|
||||
SUBMENU:=Native Language Support
|
||||
TITLE:=Codepage 864 (Arabic)
|
||||
KCONFIG:=CONFIG_NLS_CODEPAGE_864
|
||||
FILES:=$(LINUX_DIR)/fs/nls/nls_cp864.ko
|
||||
AUTOLOAD:=$(call AutoLoad,25,nls_cp864)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/nls-cp864/description
|
||||
Kernel module for NLS Codepage 864 (Arabic)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nls-cp864))
|
||||
|
||||
|
||||
define KernelPackage/nls-cp866
|
||||
SUBMENU:=Native Language Support
|
||||
TITLE:=Codepage 866 (Cyrillic)
|
||||
KCONFIG:=CONFIG_NLS_CODEPAGE_866
|
||||
FILES:=$(LINUX_DIR)/fs/nls/nls_cp866.ko
|
||||
AUTOLOAD:=$(call AutoLoad,25,nls_cp866)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/nls-cp866/description
|
||||
Kernel module for NLS Codepage 866 (Cyrillic)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nls-cp866))
|
||||
|
||||
|
||||
define KernelPackage/nls-cp932
|
||||
SUBMENU:=Native Language Support
|
||||
TITLE:=Codepage 932 (Japanese)
|
||||
KCONFIG:=CONFIG_NLS_CODEPAGE_932
|
||||
FILES:=$(LINUX_DIR)/fs/nls/nls_cp932.ko
|
||||
AUTOLOAD:=$(call AutoLoad,25,nls_cp932)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/nls-cp932/description
|
||||
Kernel module for NLS Codepage 932 (Japanese)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nls-cp932))
|
||||
|
||||
|
||||
define KernelPackage/nls-cp936
|
||||
SUBMENU:=Native Language Support
|
||||
TITLE:=Codepage 936 (Simplified Chinese)
|
||||
KCONFIG:=CONFIG_NLS_CODEPAGE_936
|
||||
FILES:=$(LINUX_DIR)/fs/nls/nls_cp936.ko
|
||||
AUTOLOAD:=$(call AutoLoad,25,nls_cp936)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/nls-cp936/description
|
||||
Kernel module for NLS Codepage 936 (Simplified Chinese)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nls-cp936))
|
||||
|
||||
|
||||
define KernelPackage/nls-cp950
|
||||
SUBMENU:=Native Language Support
|
||||
TITLE:=Codepage 950 (Traditional Chinese)
|
||||
KCONFIG:=CONFIG_NLS_CODEPAGE_950
|
||||
FILES:=$(LINUX_DIR)/fs/nls/nls_cp950.ko
|
||||
AUTOLOAD:=$(call AutoLoad,25,nls_cp950)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/nls-cp950/description
|
||||
Kernel module for NLS Codepage 950 (Traditional Chinese)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nls-cp950))
|
||||
|
||||
|
||||
define KernelPackage/nls-cp1250
|
||||
SUBMENU:=Native Language Support
|
||||
TITLE:=Codepage 1250 (Eastern Europe)
|
||||
KCONFIG:=CONFIG_NLS_CODEPAGE_1250
|
||||
FILES:=$(LINUX_DIR)/fs/nls/nls_cp1250.ko
|
||||
AUTOLOAD:=$(call AutoLoad,25,nls_cp1250)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/nls-cp1250/description
|
||||
Kernel module for NLS Codepage 1250 (Eastern Europe)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nls-cp1250))
|
||||
|
||||
|
||||
define KernelPackage/nls-cp1251
|
||||
SUBMENU:=Native Language Support
|
||||
TITLE:=Codepage 1251 (Russian)
|
||||
KCONFIG:=CONFIG_NLS_CODEPAGE_1251
|
||||
FILES:=$(LINUX_DIR)/fs/nls/nls_cp1251.ko
|
||||
AUTOLOAD:=$(call AutoLoad,25,nls_cp1251)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/nls-cp1251/description
|
||||
Kernel module for NLS Codepage 1251 (Russian)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nls-cp1251))
|
||||
|
||||
|
||||
define KernelPackage/nls-iso8859-1
|
||||
SUBMENU:=Native Language Support
|
||||
TITLE:=ISO 8859-1 (Latin 1; Western European Languages)
|
||||
KCONFIG:=CONFIG_NLS_ISO8859_1
|
||||
FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-1.ko
|
||||
AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-1)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/nls-iso8859-1/description
|
||||
Kernel module for NLS ISO 8859-1 (Latin 1)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nls-iso8859-1))
|
||||
|
||||
|
||||
define KernelPackage/nls-iso8859-2
|
||||
SUBMENU:=Native Language Support
|
||||
TITLE:=ISO 8859-2 (Latin 2; Central European Languages)
|
||||
KCONFIG:=CONFIG_NLS_ISO8859_2
|
||||
FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-2.ko
|
||||
AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-2)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/nls-iso8859-2/description
|
||||
Kernel module for NLS ISO 8859-2 (Latin 2)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nls-iso8859-2))
|
||||
|
||||
|
||||
define KernelPackage/nls-iso8859-6
|
||||
SUBMENU:=Native Language Support
|
||||
TITLE:=ISO 8859-6 (Arabic)
|
||||
KCONFIG:=CONFIG_NLS_ISO8859_6
|
||||
FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-6.ko
|
||||
AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-6)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/nls-iso8859-6/description
|
||||
Kernel module for NLS ISO 8859-6 (Arabic)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nls-iso8859-6))
|
||||
|
||||
|
||||
define KernelPackage/nls-iso8859-8
|
||||
SUBMENU:=Native Language Support
|
||||
TITLE:=ISO 8859-8, CP1255 (Hebrew)
|
||||
KCONFIG:=CONFIG_NLS_ISO8859_8
|
||||
FILES:=$(LINUX_DIR)/fs/nls/nls_cp1255.ko
|
||||
AUTOLOAD:=$(call AutoLoad,25,nls_cp1255)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/nls-iso8859-8/description
|
||||
Kernel module for Hebrew charsets (ISO-8859-8, CP1255)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nls-iso8859-8))
|
||||
|
||||
|
||||
define KernelPackage/nls-iso8859-13
|
||||
SUBMENU:=Native Language Support
|
||||
TITLE:=ISO 8859-13 (Latin 7; Baltic)
|
||||
KCONFIG:=CONFIG_NLS_ISO8859_13
|
||||
FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-13.ko
|
||||
AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-13)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/nls-iso8859-13/description
|
||||
Kernel module for NLS ISO 8859-13 (Latin 7; Baltic)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nls-iso8859-13))
|
||||
|
||||
|
||||
define KernelPackage/nls-iso8859-15
|
||||
SUBMENU:=Native Language Support
|
||||
TITLE:=ISO 8859-15 (Latin 9; Western, with Euro symbol)
|
||||
KCONFIG:=CONFIG_NLS_ISO8859_15
|
||||
FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-15.ko
|
||||
AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-15)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/nls-iso8859-15/description
|
||||
Kernel module for NLS ISO 8859-15 (Latin 9)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nls-iso8859-15))
|
||||
|
||||
|
||||
define KernelPackage/nls-koi8r
|
||||
SUBMENU:=Native Language Support
|
||||
TITLE:=KOI8-R (Russian)
|
||||
KCONFIG:=CONFIG_NLS_KOI8_R
|
||||
FILES:=$(LINUX_DIR)/fs/nls/nls_koi8-r.ko
|
||||
AUTOLOAD:=$(call AutoLoad,25,nls_koi8-r)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/nls-koi8r/description
|
||||
Kernel module for NLS KOI8-R (Russian)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nls-koi8r))
|
||||
|
||||
|
||||
define KernelPackage/nls-utf8
|
||||
SUBMENU:=Native Language Support
|
||||
TITLE:=UTF-8
|
||||
KCONFIG:=CONFIG_NLS_UTF8
|
||||
FILES:=$(LINUX_DIR)/fs/nls/nls_utf8.ko
|
||||
AUTOLOAD:=$(call AutoLoad,25,nls_utf8)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/nls-utf8/description
|
||||
Kernel module for NLS UTF-8
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nls-utf8))
|
||||
1197
package/kernel/linux/modules/other.mk
Normal file
1197
package/kernel/linux/modules/other.mk
Normal file
File diff suppressed because it is too large
Load Diff
113
package/kernel/linux/modules/pcmcia.mk
Normal file
113
package/kernel/linux/modules/pcmcia.mk
Normal file
@@ -0,0 +1,113 @@
|
||||
#
|
||||
# Copyright (C) 2006-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
PCMCIA_MENU:=PCMCIA support
|
||||
|
||||
define KernelPackage/pcmcia-core
|
||||
SUBMENU:=$(PCMCIA_MENU)
|
||||
TITLE:=PCMCIA/CardBus support
|
||||
DEPENDS:=@PCMCIA_SUPPORT
|
||||
KCONFIG:= \
|
||||
CONFIG_PCMCIA \
|
||||
CONFIG_PCMCIA_LOAD_CIS=y \
|
||||
CONFIG_CARDBUS \
|
||||
CONFIG_PCCARD \
|
||||
PCMCIA_DEBUG=n
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/pcmcia/pcmcia_core.ko \
|
||||
$(LINUX_DIR)/drivers/pcmcia/pcmcia.ko
|
||||
AUTOLOAD:=$(call AutoLoad,25,pcmcia_core pcmcia)
|
||||
endef
|
||||
|
||||
define KernelPackage/pcmcia-core/description
|
||||
Kernel support for PCMCIA/CardBus controllers
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,pcmcia-core))
|
||||
|
||||
|
||||
define AddDepends/pcmcia
|
||||
SUBMENU:=$(PCMCIA_MENU)
|
||||
DEPENDS+=kmod-pcmcia-core $(1)
|
||||
endef
|
||||
|
||||
|
||||
define KernelPackage/pcmcia-rsrc
|
||||
TITLE:=PCMCIA resource support
|
||||
KCONFIG:=CONFIG_PCCARD_NONSTATIC=y
|
||||
FILES:=$(LINUX_DIR)/drivers/pcmcia/pcmcia_rsrc.ko
|
||||
AUTOLOAD:=$(call AutoLoad,26,pcmcia_rsrc)
|
||||
$(call AddDepends/pcmcia)
|
||||
endef
|
||||
|
||||
define KernelPackage/pcmcia-rsrc/description
|
||||
Kernel support for PCMCIA resource allocation
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,pcmcia-rsrc))
|
||||
|
||||
|
||||
define KernelPackage/pcmcia-yenta
|
||||
TITLE:=yenta socket driver
|
||||
KCONFIG:=CONFIG_YENTA
|
||||
FILES:=$(LINUX_DIR)/drivers/pcmcia/yenta_socket.ko
|
||||
AUTOLOAD:=$(call AutoLoad,41,yenta_socket)
|
||||
DEPENDS:=+kmod-pcmcia-rsrc
|
||||
$(call AddDepends/pcmcia)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,pcmcia-yenta))
|
||||
|
||||
|
||||
define KernelPackage/pcmcia-serial
|
||||
TITLE:=Serial devices support
|
||||
KCONFIG:= \
|
||||
CONFIG_PCMCIA_SERIAL_CS \
|
||||
CONFIG_SERIAL_8250_CS
|
||||
FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/serial_cs.ko
|
||||
AUTOLOAD:=$(call AutoLoad,45,serial_cs)
|
||||
DEPENDS:=+kmod-serial-8250
|
||||
$(call AddDepends/pcmcia)
|
||||
endef
|
||||
|
||||
define KernelPackage/pcmcia-serial/description
|
||||
Kernel support for PCMCIA/CardBus serial devices
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,pcmcia-serial))
|
||||
|
||||
|
||||
define KernelPackage/pcmcia-pd6729
|
||||
TITLE:=Cirrus PD6729 compatible bridge support
|
||||
KCONFIG:=CONFIG_PD6729
|
||||
FILES:=$(LINUX_DIR)/drivers/pcmcia/pd6729.ko
|
||||
AUTOLOAD:=$(call AutoLoad,41,pd6729)
|
||||
DEPENDS:=+kmod-pcmcia-rsrc
|
||||
$(call AddDepends/pcmcia)
|
||||
endef
|
||||
|
||||
define KernelPackage/pcmcia-pd6729/description
|
||||
Kernel support for the Cirrus PD6729 PCI-to-PCMCIA bridge
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,pcmcia-pd6729))
|
||||
|
||||
|
||||
define KernelPackage/pcmcia-nozomi
|
||||
TITLE:=Option Fusion+ card
|
||||
KCONFIG:=CONFIG_NOZOMI
|
||||
FILES:=$(LINUX_DIR)/drivers/tty/nozomi.ko
|
||||
AUTOLOAD:=$(call AutoLoad,60,nozomi)
|
||||
DEPENDS:=+kmod-pcmcia-rsrc
|
||||
$(call AddDepends/pcmcia)
|
||||
endef
|
||||
|
||||
define KernelPackage/pcmcia-nozomi/description
|
||||
Kernel support for Option Fusion+ card
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,pcmcia-nozomi))
|
||||
539
package/kernel/linux/modules/sound.mk
Normal file
539
package/kernel/linux/modules/sound.mk
Normal file
@@ -0,0 +1,539 @@
|
||||
#
|
||||
# Copyright (C) 2006-2013 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
SOUND_MENU:=Sound Support
|
||||
|
||||
# allow targets to override the soundcore stuff
|
||||
SOUNDCORE_LOAD ?= \
|
||||
soundcore \
|
||||
snd \
|
||||
snd-hwdep \
|
||||
snd-seq-device \
|
||||
snd-rawmidi \
|
||||
snd-timer \
|
||||
snd-pcm \
|
||||
snd-mixer-oss \
|
||||
snd-pcm-oss \
|
||||
snd-compress
|
||||
|
||||
SOUNDCORE_FILES ?= \
|
||||
$(LINUX_DIR)/sound/soundcore.ko \
|
||||
$(LINUX_DIR)/sound/core/snd.ko \
|
||||
$(LINUX_DIR)/sound/core/snd-hwdep.ko \
|
||||
$(LINUX_DIR)/sound/core/seq/snd-seq-device.ko@lt4.13 \
|
||||
$(LINUX_DIR)/sound/core/snd-seq-device.ko@ge4.13 \
|
||||
$(LINUX_DIR)/sound/core/snd-rawmidi.ko \
|
||||
$(LINUX_DIR)/sound/core/snd-timer.ko \
|
||||
$(LINUX_DIR)/sound/core/snd-pcm.ko \
|
||||
$(LINUX_DIR)/sound/core/oss/snd-mixer-oss.ko \
|
||||
$(LINUX_DIR)/sound/core/oss/snd-pcm-oss.ko \
|
||||
$(LINUX_DIR)/sound/core/snd-compress.ko
|
||||
|
||||
SOUNDCORE_LOAD += \
|
||||
$(if $(CONFIG_SND_DMAENGINE_PCM),snd-pcm-dmaengine)
|
||||
|
||||
SOUNDCORE_FILES += \
|
||||
$(if $(CONFIG_SND_DMAENGINE_PCM),$(LINUX_DIR)/sound/core/snd-pcm-dmaengine.ko)
|
||||
|
||||
define KernelPackage/sound-core
|
||||
SUBMENU:=$(SOUND_MENU)
|
||||
TITLE:=Sound support
|
||||
DEPENDS:=@AUDIO_SUPPORT +kmod-input-core
|
||||
KCONFIG:= \
|
||||
CONFIG_SOUND \
|
||||
CONFIG_SND \
|
||||
CONFIG_SND_HWDEP \
|
||||
CONFIG_SND_RAWMIDI \
|
||||
CONFIG_SND_TIMER \
|
||||
CONFIG_SND_PCM \
|
||||
CONFIG_SND_PCM_TIMER=y \
|
||||
CONFIG_SND_SEQUENCER \
|
||||
CONFIG_SND_VIRMIDI \
|
||||
CONFIG_SND_SEQ_DUMMY \
|
||||
CONFIG_SND_SEQUENCER_OSS=y \
|
||||
CONFIG_HOSTAUDIO \
|
||||
CONFIG_SND_PCM_OSS \
|
||||
CONFIG_SND_MIXER_OSS \
|
||||
CONFIG_SOUND_OSS_CORE_PRECLAIM=y \
|
||||
CONFIG_SND_COMPRESS_OFFLOAD
|
||||
FILES:=$(SOUNDCORE_FILES)
|
||||
AUTOLOAD:=$(call AutoLoad,30,$(SOUNDCORE_LOAD))
|
||||
endef
|
||||
|
||||
define KernelPackage/sound-core/uml
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/sound/soundcore.ko \
|
||||
$(LINUX_DIR)/arch/um/drivers/hostaudio.ko
|
||||
AUTOLOAD+=$(call AutoLoad,30,soundcore hostaudio)
|
||||
endef
|
||||
|
||||
define KernelPackage/sound-core/description
|
||||
Kernel modules for sound support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-core))
|
||||
|
||||
|
||||
define AddDepends/sound
|
||||
SUBMENU:=$(SOUND_MENU)
|
||||
DEPENDS+=kmod-sound-core $(1) @!TARGET_uml
|
||||
endef
|
||||
|
||||
|
||||
define KernelPackage/ac97
|
||||
TITLE:=ac97 controller
|
||||
KCONFIG:=CONFIG_SND_AC97_CODEC
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/sound/ac97_bus.ko \
|
||||
$(LINUX_DIR)/sound/pci/ac97/snd-ac97-codec.ko
|
||||
AUTOLOAD:=$(call AutoLoad,35,ac97_bus snd-ac97-codec)
|
||||
$(call AddDepends/sound)
|
||||
endef
|
||||
|
||||
define KernelPackage/ac97/description
|
||||
The ac97 controller
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,ac97))
|
||||
|
||||
|
||||
define KernelPackage/sound-mpu401
|
||||
TITLE:=MPU-401 uart driver
|
||||
KCONFIG:=CONFIG_SND_MPU401_UART
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/sound/drivers/mpu401/snd-mpu401-uart.ko
|
||||
AUTOLOAD:=$(call AutoLoad,35,snd-mpu401-uart)
|
||||
$(call AddDepends/sound)
|
||||
endef
|
||||
|
||||
define KernelPackage/sound-mpu401/description
|
||||
support for MIDI ports compatible with the Roland MPU-401
|
||||
interface in UART mode.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-mpu401))
|
||||
|
||||
|
||||
define KernelPackage/sound-seq
|
||||
TITLE:=Sequencer support
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/sound/core/seq/snd-seq.ko \
|
||||
$(LINUX_DIR)/sound/core/seq/snd-seq-midi-event.ko \
|
||||
$(LINUX_DIR)/sound/core/seq/snd-seq-midi.ko
|
||||
AUTOLOAD:=$(call AutoLoad,35,snd-seq snd-seq-midi-event snd-seq-midi)
|
||||
$(call AddDepends/sound)
|
||||
endef
|
||||
|
||||
define KernelPackage/sound-seq/description
|
||||
Kernel modules for sequencer support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-seq))
|
||||
|
||||
|
||||
define KernelPackage/sound-ens1371
|
||||
TITLE:=(Creative) Ensoniq AudioPCI 1371
|
||||
KCONFIG:=CONFIG_SND_ENS1371
|
||||
DEPENDS:=@PCI_SUPPORT +kmod-ac97
|
||||
FILES:=$(LINUX_DIR)/sound/pci/snd-ens1371.ko
|
||||
AUTOLOAD:=$(call AutoLoad,36,snd-ens1371)
|
||||
$(call AddDepends/sound)
|
||||
endef
|
||||
|
||||
define KernelPackage/sound-ens1371/description
|
||||
support for (Creative) Ensoniq AudioPCI 1371 chips
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-ens1371))
|
||||
|
||||
|
||||
define KernelPackage/sound-i8x0
|
||||
TITLE:=Intel/SiS/nVidia/AMD/ALi AC97 Controller
|
||||
DEPENDS:=+kmod-ac97
|
||||
KCONFIG:=CONFIG_SND_INTEL8X0
|
||||
FILES:=$(LINUX_DIR)/sound/pci/snd-intel8x0.ko
|
||||
AUTOLOAD:=$(call AutoLoad,36,snd-intel8x0)
|
||||
$(call AddDepends/sound)
|
||||
endef
|
||||
|
||||
define KernelPackage/sound-i8x0/description
|
||||
support for the integrated AC97 sound device on motherboards
|
||||
with Intel/SiS/nVidia/AMD chipsets, or ALi chipsets using
|
||||
the M5455 Audio Controller.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-i8x0))
|
||||
|
||||
|
||||
define KernelPackage/sound-via82xx
|
||||
TITLE:=VIA 82xx AC97 Controller
|
||||
DEPENDS:=+kmod-ac97 +kmod-sound-mpu401
|
||||
KCONFIG:=CONFIG_SND_VIA82XX
|
||||
FILES:=$(LINUX_DIR)/sound/pci/snd-via82xx.ko
|
||||
AUTOLOAD:=$(call AutoLoad,36,snd-via82xx)
|
||||
$(call AddDepends/sound)
|
||||
endef
|
||||
|
||||
define KernelPackage/sound-via82xx/description
|
||||
support for the integrated AC97 sound device on motherboards
|
||||
with VIA chipsets.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-via82xx))
|
||||
|
||||
|
||||
define KernelPackage/sound-soc-core
|
||||
TITLE:=SoC sound support
|
||||
DEPENDS:=+kmod-regmap-core +kmod-ac97
|
||||
KCONFIG:= \
|
||||
CONFIG_SND_SOC \
|
||||
CONFIG_SND_SOC_ADI=n \
|
||||
CONFIG_SND_SOC_DMAENGINE_PCM=y \
|
||||
CONFIG_SND_SOC_ALL_CODECS=n
|
||||
FILES:=$(LINUX_DIR)/sound/soc/snd-soc-core.ko
|
||||
AUTOLOAD:=$(call AutoLoad,55, snd-soc-core)
|
||||
$(call AddDepends/sound)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-soc-core))
|
||||
|
||||
|
||||
define KernelPackage/sound-soc-ac97
|
||||
TITLE:=AC97 Codec support
|
||||
KCONFIG:=CONFIG_SND_SOC_AC97_CODEC
|
||||
FILES:=$(LINUX_DIR)/sound/soc/codecs/snd-soc-ac97.ko
|
||||
AUTOLOAD:=$(call AutoLoad,57,snd-soc-ac97)
|
||||
DEPENDS:=+kmod-ac97 +kmod-sound-soc-core
|
||||
$(call AddDepends/sound)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-soc-ac97))
|
||||
|
||||
|
||||
define KernelPackage/sound-soc-imx
|
||||
TITLE:=IMX SoC support
|
||||
KCONFIG:=\
|
||||
CONFIG_SND_IMX_SOC \
|
||||
CONFIG_SND_SOC_IMX_AUDMUX \
|
||||
CONFIG_SND_SOC_FSL_SSI \
|
||||
CONFIG_SND_SOC_IMX_PCM_DMA
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/sound/soc/fsl/snd-soc-imx-audmux.ko \
|
||||
$(LINUX_DIR)/sound/soc/fsl/snd-soc-fsl-ssi.ko \
|
||||
$(LINUX_DIR)/sound/soc/fsl/imx-pcm-dma.ko
|
||||
AUTOLOAD:=$(call AutoLoad,56,snd-soc-imx-audmux snd-soc-fsl-ssi snd-soc-imx-pcm)
|
||||
DEPENDS:=@TARGET_imx6 +kmod-sound-soc-core
|
||||
$(call AddDepends/sound)
|
||||
endef
|
||||
|
||||
define KernelPackage/sound-soc-imx/description
|
||||
Support for i.MX6 Platform sound (ssi/audmux/pcm)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-soc-imx))
|
||||
|
||||
|
||||
define KernelPackage/sound-soc-imx-sgtl5000
|
||||
TITLE:=IMX SoC support for SGTL5000
|
||||
KCONFIG:=CONFIG_SND_SOC_IMX_SGTL5000
|
||||
FILES:=\
|
||||
$(LINUX_DIR)/sound/soc/codecs/snd-soc-sgtl5000.ko \
|
||||
$(LINUX_DIR)/sound/soc/fsl/snd-soc-imx-sgtl5000.ko
|
||||
AUTOLOAD:=$(call AutoLoad,57,snd-soc-sgtl5000 snd-soc-imx-sgtl5000)
|
||||
DEPENDS:=@TARGET_imx6 +kmod-sound-soc-imx
|
||||
$(call AddDepends/sound)
|
||||
endef
|
||||
|
||||
define KernelPackage/sound-soc-imx-sgtl5000/description
|
||||
Support for i.MX6 Platform sound SGTL5000 codec
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-soc-imx-sgtl5000))
|
||||
|
||||
|
||||
define KernelPackage/sound-soc-gw_avila
|
||||
TITLE:=Gateworks Avila SoC sound support
|
||||
KCONFIG:= \
|
||||
CONFIG_SND_GW_AVILA_SOC \
|
||||
CONFIG_SND_GW_AVILA_SOC_PCM \
|
||||
CONFIG_SND_GW_AVILA_SOC_HSS
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/sound/soc/codecs/snd-soc-tlv320aic3x.ko \
|
||||
$(LINUX_DIR)/sound/soc/gw-avila/snd-soc-gw-avila.ko \
|
||||
$(LINUX_DIR)/sound/soc/gw-avila/snd-soc-gw-avila-pcm.ko \
|
||||
$(LINUX_DIR)/sound/soc/gw-avila/snd-soc-gw-avila-hss.ko
|
||||
AUTOLOAD:=$(call AutoLoad,65,snd-soc-tlv320aic3x snd-soc-gw-avila snd-soc-gw-avila-pcm snd-soc-gw-avila-hss)
|
||||
DEPENDS:=@TARGET_ixp4xx +kmod-sound-soc-core
|
||||
$(call AddDepends/sound)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-soc-gw_avila))
|
||||
|
||||
|
||||
define KernelPackage/pcspkr
|
||||
DEPENDS:=@TARGET_x86 +kmod-input-core
|
||||
TITLE:=PC speaker support
|
||||
KCONFIG:= \
|
||||
CONFIG_SND_PCSP
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/sound/drivers/pcsp/snd-pcsp.ko
|
||||
AUTOLOAD:=$(call AutoLoad,50,snd-pcsp)
|
||||
$(call AddDepends/sound)
|
||||
endef
|
||||
|
||||
define KernelPackage/pcspkr/description
|
||||
This enables sounds (tones) through the pc speaker
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,pcspkr))
|
||||
|
||||
define KernelPackage/sound-dummy
|
||||
$(call AddDepends/sound)
|
||||
TITLE:=Null sound output driver (sink)
|
||||
KCONFIG:= \
|
||||
CONFIG_SND_DUMMY
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/sound/drivers/snd-dummy.ko
|
||||
AUTOLOAD:=$(call AutoLoad,32,snd-dummy)
|
||||
endef
|
||||
|
||||
define KernelPackage/sound_dummy/description
|
||||
Dummy sound device for Alsa when no hardware present
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-dummy))
|
||||
|
||||
define KernelPackage/sound-hda-core
|
||||
SUBMENU:=$(SOUND_MENU)
|
||||
TITLE:=HD Audio Sound Core Support
|
||||
KCONFIG:= \
|
||||
CONFIG_SND_HDA_CORE@ge4.1 \
|
||||
CONFIG_SND_HDA_HWDEP=y \
|
||||
CONFIG_SND_HDA_RECONFIG=n \
|
||||
CONFIG_SND_HDA_INPUT_BEEP=n \
|
||||
CONFIG_SND_HDA_PATCH_LOADER=n \
|
||||
CONFIG_SND_HDA_GENERIC
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/sound/hda/snd-hda-core.ko@ge4.1 \
|
||||
$(LINUX_DIR)/sound/pci/hda/snd-hda-codec.ko \
|
||||
$(LINUX_DIR)/sound/pci/hda/snd-hda-codec-generic.ko
|
||||
AUTOLOAD:=$(call AutoProbe,snd-hda-core@ge4.1 snd-hda-codec snd-hda-codec-generic)
|
||||
$(call AddDepends/sound,+kmod-regmap-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/sound-hda-core/description
|
||||
Kernel modules for HD Audio sound support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-hda-core))
|
||||
|
||||
define KernelPackage/sound-hda-codec-realtek
|
||||
SUBMENU:=$(SOUND_MENU)
|
||||
TITLE:= HD Audio Realtek Codec
|
||||
KCONFIG:= \
|
||||
CONFIG_SND_HDA_CODEC_REALTEK
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/sound/pci/hda/snd-hda-codec-realtek.ko
|
||||
AUTOLOAD:=$(call AutoProbe,snd-hda-codec-realtek)
|
||||
$(call AddDepends/sound,kmod-sound-hda-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/sound-hda-codec-realtek/description
|
||||
Kernel modules for Intel HDA Realtek codec support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-hda-codec-realtek))
|
||||
|
||||
define KernelPackage/sound-hda-codec-cmedia
|
||||
SUBMENU:=$(SOUND_MENU)
|
||||
TITLE:=HD Audio C-Media Codec
|
||||
KCONFIG:= \
|
||||
CONFIG_SND_HDA_CODEC_CMEDIA
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/sound/pci/hda/snd-hda-codec-cmedia.ko
|
||||
AUTOLOAD:=$(call AutoProbe,snd-hda-codec-cmedia)
|
||||
$(call AddDepends/sound,kmod-sound-hda-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/sound-hda-codec-cmedia/description
|
||||
Kernel modules for HD Audio C-Media codec support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-hda-codec-cmedia))
|
||||
|
||||
define KernelPackage/sound-hda-codec-analog
|
||||
SUBMENU:=$(SOUND_MENU)
|
||||
TITLE:=HD Audio Analog Devices Codec
|
||||
KCONFIG:= \
|
||||
CONFIG_SND_HDA_CODEC_ANALOG
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/sound/pci/hda/snd-hda-codec-analog.ko
|
||||
AUTOLOAD:=$(call AutoProbe,snd-hda-codec-analog)
|
||||
$(call AddDepends/sound,kmod-sound-hda-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/sound-hda-codec-analog/description
|
||||
Kernel modules for HD Audio Analog Devices codec support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-hda-codec-analog))
|
||||
|
||||
define KernelPackage/sound-hda-codec-idt
|
||||
SUBMENU:=$(SOUND_MENU)
|
||||
TITLE:=HD Audio Sigmatel IDT Codec
|
||||
KCONFIG:= \
|
||||
CONFIG_SND_HDA_CODEC_SIGMATEL
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/sound/pci/hda/snd-hda-codec-idt.ko
|
||||
AUTOLOAD:=$(call AutoProbe,snd-hda-codec-idt)
|
||||
$(call AddDepends/sound,kmod-sound-hda-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/sound-hda-codec-idt/description
|
||||
Kernel modules for HD Audio Sigmatel IDT codec support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-hda-codec-idt))
|
||||
|
||||
define KernelPackage/sound-hda-codec-si3054
|
||||
SUBMENU:=$(SOUND_MENU)
|
||||
TITLE:=HD Audio Silicon Labs 3054 Codec
|
||||
KCONFIG:= \
|
||||
CONFIG_SND_HDA_CODEC_SI3054
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/sound/pci/hda/snd-hda-codec-si3054.ko
|
||||
AUTOLOAD:=$(call AutoProbe,snd-hda-codec-si3054)
|
||||
$(call AddDepends/sound,kmod-sound-hda-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/sound-hda-codec-si3054/description
|
||||
Kernel modules for HD Audio Silicon Labs 3054 codec support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-hda-codec-si3054))
|
||||
|
||||
define KernelPackage/sound-hda-codec-cirrus
|
||||
SUBMENU:=$(SOUND_MENU)
|
||||
TITLE:=HD Audio Cirrus Logic Codec
|
||||
KCONFIG:= \
|
||||
CONFIG_SND_HDA_CODEC_CIRRUS
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/sound/pci/hda/snd-hda-codec-cirrus.ko
|
||||
AUTOLOAD:=$(call AutoProbe,snd-hda-codec-cirrus)
|
||||
$(call AddDepends/sound,kmod-sound-hda-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/sound-hda-codec-cirrus/description
|
||||
Kernel modules for HD Audio Cirrus Logic codec support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-hda-codec-cirrus))
|
||||
|
||||
define KernelPackage/sound-hda-codec-ca0110
|
||||
SUBMENU:=$(SOUND_MENU)
|
||||
TITLE:=HD Audio Creative CA0110 Codec
|
||||
KCONFIG:= \
|
||||
CONFIG_SND_HDA_CODEC_CA0110
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/sound/pci/hda/snd-hda-codec-ca0110.ko
|
||||
AUTOLOAD:=$(call AutoProbe,snd-hda-codec-ca0110)
|
||||
$(call AddDepends/sound,kmod-sound-hda-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/sound-hda-codec-ca0110/description
|
||||
Kernel modules for HD Audio Creative CA0110 codec support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-hda-codec-ca0110))
|
||||
|
||||
define KernelPackage/sound-hda-codec-ca0132
|
||||
SUBMENU:=$(SOUND_MENU)
|
||||
TITLE:=HD Audio Creative CA0132 Codec
|
||||
KCONFIG:= \
|
||||
CONFIG_SND_HDA_CODEC_CA0132 \
|
||||
CONFIG_SND_HDA_CODEC_CA0132_DSP=n
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/sound/pci/hda/snd-hda-codec-ca0132.ko
|
||||
AUTOLOAD:=$(call AutoProbe,snd-hda-codec-ca0132)
|
||||
$(call AddDepends/sound,kmod-sound-hda-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/sound-hda-codec-ca0132/description
|
||||
Kernel modules for HD Audio Creative CA0132 codec support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-hda-codec-ca0132))
|
||||
|
||||
define KernelPackage/sound-hda-codec-conexant
|
||||
SUBMENU:=$(SOUND_MENU)
|
||||
TITLE:=HD Audio Conexant Codec
|
||||
KCONFIG:= \
|
||||
CONFIG_SND_HDA_CODEC_CONEXANT
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/sound/pci/hda/snd-hda-codec-conexant.ko
|
||||
AUTOLOAD:=$(call AutoProbe,snd-hda-codec-conexant)
|
||||
$(call AddDepends/sound,kmod-sound-hda-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/sound-hda-codec-conexant/description
|
||||
Kernel modules for HD Audio Conexant codec support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-hda-codec-conexant))
|
||||
|
||||
define KernelPackage/sound-hda-codec-via
|
||||
SUBMENU:=$(SOUND_MENU)
|
||||
TITLE:=HD Audio Via Codec
|
||||
KCONFIG:= \
|
||||
CONFIG_SND_HDA_CODEC_VIA
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/sound/pci/hda/snd-hda-codec-via.ko
|
||||
AUTOLOAD:=$(call AutoProbe,snd-hda-codec-via)
|
||||
$(call AddDepends/sound,kmod-sound-hda-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/sound-hda-codec-via/description
|
||||
Kernel modules for HD Audio VIA codec support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-hda-codec-via))
|
||||
|
||||
define KernelPackage/sound-hda-codec-hdmi
|
||||
SUBMENU:=$(SOUND_MENU)
|
||||
TITLE:=HD Audio HDMI/DisplayPort Codec
|
||||
KCONFIG:= \
|
||||
CONFIG_SND_HDA_CODEC_HDMI
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/sound/pci/hda/snd-hda-codec-hdmi.ko
|
||||
AUTOLOAD:=$(call AutoProbe,snd-hda-codec-hdmi)
|
||||
$(call AddDepends/sound,kmod-sound-hda-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/sound-hda-codec-hdmi/description
|
||||
Kernel modules for HD Audio HDMI codec support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-hda-codec-hdmi))
|
||||
|
||||
define KernelPackage/sound-hda-intel
|
||||
SUBMENU:=$(SOUND_MENU)
|
||||
TITLE:=HD Audio Intel Driver
|
||||
KCONFIG:= \
|
||||
CONFIG_SOUND_PCI \
|
||||
CONFIG_SND_HDA_INTEL
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/sound/pci/hda/snd-hda-intel.ko \
|
||||
$(LINUX_DIR)/sound/pci/hda/snd-hda-controller.ko@lt4.4
|
||||
AUTOLOAD:=$(call AutoProbe,snd-hda-controller@lt4.4 snd-hda-intel)
|
||||
$(call AddDepends/sound,kmod-sound-hda-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/sound-hda-intel/description
|
||||
Kernel modules for HD Audio Intel driver support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-hda-intel))
|
||||
75
package/kernel/linux/modules/spi.mk
Normal file
75
package/kernel/linux/modules/spi.mk
Normal file
@@ -0,0 +1,75 @@
|
||||
#
|
||||
# Copyright (C) 2006-2011 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
SPI_MENU:=SPI Support
|
||||
|
||||
define KernelPackage/mmc-spi
|
||||
SUBMENU:=$(SPI_MENU)
|
||||
TITLE:=MMC/SD over SPI Support
|
||||
DEPENDS:=+kmod-mmc +kmod-lib-crc-itu-t +kmod-lib-crc7
|
||||
KCONFIG:=CONFIG_MMC_SPI \
|
||||
CONFIG_SPI=y \
|
||||
CONFIG_SPI_MASTER=y
|
||||
FILES:=\
|
||||
$(if $(CONFIG_OF),$(LINUX_DIR)/drivers/mmc/host/of_mmc_spi.ko) \
|
||||
$(LINUX_DIR)/drivers/mmc/host/mmc_spi.ko
|
||||
AUTOLOAD:=$(call AutoProbe,$(if $(CONFIG_OF),of_mmc_spi) mmc_spi)
|
||||
endef
|
||||
|
||||
define KernelPackage/mmc-spi/description
|
||||
Kernel support for MMC/SD over SPI
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,mmc-spi))
|
||||
|
||||
|
||||
define KernelPackage/spi-bitbang
|
||||
SUBMENU:=$(SPI_MENU)
|
||||
TITLE:=Serial Peripheral Interface bitbanging library
|
||||
KCONFIG:=CONFIG_SPI_BITBANG \
|
||||
CONFIG_SPI=y \
|
||||
CONFIG_SPI_MASTER=y
|
||||
FILES:=$(LINUX_DIR)/drivers/spi/spi-bitbang.ko
|
||||
endef
|
||||
|
||||
define KernelPackage/spi-bitbang/description
|
||||
This package contains the SPI bitbanging library
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,spi-bitbang))
|
||||
|
||||
|
||||
define KernelPackage/spi-gpio
|
||||
SUBMENU:=$(SPI_MENU)
|
||||
TITLE:=GPIO-based bitbanging SPI Master
|
||||
DEPENDS:=@GPIO_SUPPORT +kmod-spi-bitbang
|
||||
KCONFIG:=CONFIG_SPI_GPIO
|
||||
FILES:=$(LINUX_DIR)/drivers/spi/spi-gpio.ko
|
||||
AUTOLOAD:=$(call AutoProbe,spi-gpio)
|
||||
endef
|
||||
|
||||
define KernelPackage/spi-gpio/description
|
||||
This package contains the GPIO-based bitbanging SPI Master
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,spi-gpio))
|
||||
|
||||
define KernelPackage/spi-dev
|
||||
SUBMENU:=$(SPI_MENU)
|
||||
TITLE:=User mode SPI device driver
|
||||
KCONFIG:=CONFIG_SPI_SPIDEV \
|
||||
CONFIG_SPI=y \
|
||||
CONFIG_SPI_MASTER=y
|
||||
FILES:=$(LINUX_DIR)/drivers/spi/spidev.ko
|
||||
AUTOLOAD:=$(call AutoProbe,spidev)
|
||||
endef
|
||||
|
||||
define KernelPackage/spi-dev/description
|
||||
This package contains the user mode SPI device driver
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,spi-dev))
|
||||
1725
package/kernel/linux/modules/usb.mk
Normal file
1725
package/kernel/linux/modules/usb.mk
Normal file
File diff suppressed because it is too large
Load Diff
1027
package/kernel/linux/modules/video.mk
Normal file
1027
package/kernel/linux/modules/video.mk
Normal file
File diff suppressed because it is too large
Load Diff
73
package/kernel/linux/modules/virt.mk
Normal file
73
package/kernel/linux/modules/virt.mk
Normal file
@@ -0,0 +1,73 @@
|
||||
#
|
||||
# Copyright (C) 2016 Yousong Zhou <yszhou4tech@gmail.com>
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
define KernelPackage/irqbypass
|
||||
SUBMENU:=Virtualization
|
||||
TITLE:=IRQ offload/bypass manager
|
||||
KCONFIG:=CONFIG_IRQ_BYPASS_MANAGER
|
||||
HIDDEN:=1
|
||||
FILES:= $(LINUX_DIR)/virt/lib/irqbypass.ko
|
||||
AUTOLOAD:=$(call AutoProbe,irqbypass.ko)
|
||||
endef
|
||||
$(eval $(call KernelPackage,irqbypass))
|
||||
|
||||
|
||||
define KernelPackage/kvm-x86
|
||||
SUBMENU:=Virtualization
|
||||
TITLE:=Kernel-based Virtual Machine (KVM) support
|
||||
DEPENDS:=@TARGET_x86_generic||TARGET_x86_64 +kmod-irqbypass
|
||||
KCONFIG:=\
|
||||
CONFIG_VIRTUALIZATION=y \
|
||||
CONFIG_KVM
|
||||
FILES:= $(LINUX_DIR)/arch/$(LINUX_KARCH)/kvm/kvm.ko
|
||||
AUTOLOAD:=$(call AutoProbe,kvm.ko)
|
||||
endef
|
||||
|
||||
define KernelPackage/kvm-x86/description
|
||||
Support hosting fully virtualized guest machines using hardware
|
||||
virtualization extensions. You will need a fairly recent
|
||||
processor equipped with virtualization extensions. You will also
|
||||
need to select one or more of the processor modules.
|
||||
|
||||
This module provides access to the hardware capabilities through
|
||||
a character device node named /dev/kvm.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,kvm-x86))
|
||||
|
||||
|
||||
define KernelPackage/kvm-intel
|
||||
SUBMENU:=Virtualization
|
||||
TITLE:=KVM for Intel processors support
|
||||
DEPENDS:=+kmod-kvm-x86
|
||||
KCONFIG:=CONFIG_KVM_INTEL
|
||||
FILES:= $(LINUX_DIR)/arch/$(LINUX_KARCH)/kvm/kvm-intel.ko
|
||||
AUTOLOAD:=$(call AutoProbe,kvm-intel.ko)
|
||||
endef
|
||||
|
||||
define KernelPackage/kvm-intel/description
|
||||
Provides support for KVM on Intel processors equipped with the VT
|
||||
extensions.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,kvm-intel))
|
||||
|
||||
|
||||
define KernelPackage/kvm-amd
|
||||
SUBMENU:=Virtualization
|
||||
TITLE:=KVM for AMD processors support
|
||||
DEPENDS:=+kmod-kvm-x86
|
||||
KCONFIG:=CONFIG_KVM_AMD
|
||||
FILES:= $(LINUX_DIR)/arch/$(LINUX_KARCH)/kvm/kvm-amd.ko
|
||||
AUTOLOAD:=$(call AutoProbe,kvm-amd.ko)
|
||||
endef
|
||||
|
||||
define KernelPackage/kvm-amd/description
|
||||
Provides support for KVM on AMD processors equipped with the AMD-V
|
||||
(SVM) extensions.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,kvm-amd))
|
||||
193
package/kernel/linux/modules/w1.mk
Normal file
193
package/kernel/linux/modules/w1.mk
Normal file
@@ -0,0 +1,193 @@
|
||||
#
|
||||
# Copyright (C) 2008-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
W1_MENU:=W1 support
|
||||
W1_MASTERS_DIR:=$(LINUX_DIR)/drivers/w1/masters
|
||||
W1_SLAVES_DIR:=$(LINUX_DIR)/drivers/w1/slaves
|
||||
|
||||
define KernelPackage/w1
|
||||
SUBMENU:=$(W1_MENU)
|
||||
TITLE:=Dallas's 1-wire support
|
||||
KCONFIG:=CONFIG_W1
|
||||
FILES:=$(LINUX_DIR)/drivers/w1/wire.ko
|
||||
DEPENDS:=+!LINUX_4_9:kmod-hwmon-core
|
||||
endef
|
||||
|
||||
define KernelPackage/w1/description
|
||||
Kernel module for Dallas's 1-wire support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,w1))
|
||||
|
||||
|
||||
define AddDepends/w1
|
||||
SUBMENU:=$(W1_MENU)
|
||||
DEPENDS+=kmod-w1 $(1)
|
||||
endef
|
||||
|
||||
|
||||
#
|
||||
# 1-wire masters
|
||||
#
|
||||
define KernelPackage/w1-master-gpio
|
||||
TITLE:=GPIO 1-wire bus master driver
|
||||
DEPENDS:=@GPIO_SUPPORT
|
||||
KCONFIG:=CONFIG_W1_MASTER_GPIO
|
||||
FILES:=$(W1_MASTERS_DIR)/w1-gpio.ko
|
||||
AUTOLOAD:=$(call AutoProbe,w1-gpio)
|
||||
$(call AddDepends/w1)
|
||||
endef
|
||||
|
||||
define KernelPackage/w1-master-gpio/description
|
||||
Kernel module for the GPIO 1-wire bus master driver
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,w1-master-gpio))
|
||||
|
||||
define KernelPackage/w1-master-ds2482
|
||||
TITLE:=DS2482 1-wire i2c bus master driver
|
||||
KCONFIG:=CONFIG_W1_MASTER_DS2482
|
||||
FILES:=$(W1_MASTERS_DIR)/ds2482.ko
|
||||
AUTOLOAD:=$(call AutoProbe,ds2482)
|
||||
$(call AddDepends/w1,+kmod-i2c-core)
|
||||
endef
|
||||
|
||||
define KernelPackage/w1-master-ds2482/description
|
||||
Kernel module for the DS2482 i2c 1-wire bus master driver
|
||||
NOTE: Init with: echo ds2482 0x18 > /sys/bus/i2c/devices/i2c-0/new_device
|
||||
or use owfs
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,w1-master-ds2482))
|
||||
|
||||
|
||||
define KernelPackage/w1-master-ds2490
|
||||
TITLE:=DS2490 1-wire usb bus master driver
|
||||
DEPENDS:=@USB_SUPPORT +kmod-usb-core
|
||||
KCONFIG:=CONFIG_W1_MASTER_DS2490
|
||||
FILES:=$(W1_MASTERS_DIR)/ds2490.ko
|
||||
AUTOLOAD:=$(call AutoProbe,ds2490)
|
||||
$(call AddDepends/w1)
|
||||
endef
|
||||
|
||||
define KernelPackage/w1-master-ds2490/description
|
||||
Kernel module for the DS2490 usb 1-wire bus master driver
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,w1-master-ds2490))
|
||||
|
||||
|
||||
define KernelPackage/w1-master-mxc
|
||||
TITLE:=Freescale MXC 1-wire busmaster
|
||||
DEPENDS:=@TARGET_imx6
|
||||
KCONFIG:=CONFIG_W1_MASTER_MXC
|
||||
FILES:=$(W1_MASTERS_DIR)/mxc_w1.ko
|
||||
AUTOLOAD:=$(call AutoProbe,mxc_w1)
|
||||
$(call AddDepends/w1)
|
||||
endef
|
||||
|
||||
define KernelPackage/w1-master-mxc/description
|
||||
Kernel module for 1-wire Freescale MXC 1-wire busmaster
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,w1-master-mxc))
|
||||
|
||||
|
||||
#
|
||||
# 1-wire slaves
|
||||
#
|
||||
define KernelPackage/w1-slave-therm
|
||||
TITLE:=Thermal family implementation
|
||||
KCONFIG:=CONFIG_W1_SLAVE_THERM
|
||||
FILES:=$(W1_SLAVES_DIR)/w1_therm.ko
|
||||
AUTOLOAD:=$(call AutoProbe,w1_therm)
|
||||
$(call AddDepends/w1)
|
||||
endef
|
||||
|
||||
define KernelPackage/w1-slave-therm/description
|
||||
Kernel module for 1-wire thermal sensors
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,w1-slave-therm))
|
||||
|
||||
|
||||
define KernelPackage/w1-slave-smem
|
||||
TITLE:=Simple 64bit memory family implementation
|
||||
KCONFIG:=CONFIG_W1_SLAVE_SMEM
|
||||
FILES:=$(W1_SLAVES_DIR)/w1_smem.ko
|
||||
AUTOLOAD:=$(call AutoProbe,w1_smem)
|
||||
$(call AddDepends/w1)
|
||||
endef
|
||||
|
||||
define KernelPackage/w1-slave-smem/description
|
||||
Kernel module for 1-wire simple 64bit memory rom(ds2401/ds2411/ds1990*)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,w1-slave-smem))
|
||||
|
||||
define KernelPackage/w1-slave-ds2431
|
||||
TITLE:=DS2431 1kb EEPROM driver
|
||||
KCONFIG:= CONFIG_W1_SLAVE_DS2431
|
||||
FILES:=$(W1_SLAVES_DIR)/w1_ds2431.ko
|
||||
AUTOLOAD:=$(call AutoProbe,w1_ds2431)
|
||||
$(call AddDepends/w1)
|
||||
endef
|
||||
|
||||
define KernelPackage/w1-slave-ds2431/description
|
||||
Kernel module for 1-wire 1kb EEPROM (DS2431)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,w1-slave-ds2431))
|
||||
|
||||
define KernelPackage/w1-slave-ds2433
|
||||
TITLE:=DS2433 4kb EEPROM driver
|
||||
KCONFIG:= \
|
||||
CONFIG_W1_SLAVE_DS2433 \
|
||||
CONFIG_W1_SLAVE_DS2433_CRC=n
|
||||
FILES:=$(W1_SLAVES_DIR)/w1_ds2433.ko
|
||||
AUTOLOAD:=$(call AutoProbe,w1_ds2433)
|
||||
$(call AddDepends/w1)
|
||||
endef
|
||||
|
||||
define KernelPackage/w1-slave-ds2433/description
|
||||
Kernel module for 1-wire 4kb EEPROM (DS2433)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,w1-slave-ds2433))
|
||||
|
||||
|
||||
define KernelPackage/w1-slave-ds2760
|
||||
TITLE:=Dallas 2760 battery monitor chip (HP iPAQ & others)
|
||||
KCONFIG:= \
|
||||
CONFIG_W1_SLAVE_DS2760 \
|
||||
CONFIG_W1_SLAVE_DS2433_CRC=n
|
||||
FILES:=$(W1_SLAVES_DIR)/w1_ds2760.ko
|
||||
AUTOLOAD:=$(call AutoProbe,w1_ds2760)
|
||||
$(call AddDepends/w1)
|
||||
endef
|
||||
|
||||
define KernelPackage/w1-slave-ds2760/description
|
||||
Kernel module for 1-wire DS2760 battery monitor chip support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,w1-slave-ds2760))
|
||||
|
||||
|
||||
define KernelPackage/w1-slave-ds2413
|
||||
TITLE:=DS2413 2 Ch. Addressable Switch
|
||||
KCONFIG:= \
|
||||
CONFIG_W1_SLAVE_DS2413
|
||||
FILES:=$(W1_SLAVES_DIR)/w1_ds2413.ko
|
||||
AUTOLOAD:=$(call AutoProbe,w1_ds2413)
|
||||
$(call AddDepends/w1)
|
||||
endef
|
||||
|
||||
define KernelPackage/w1-slave-ds2413/description
|
||||
Kernel module for 1-wire DS2413 Dual Channel Addressable Switch support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,w1-slave-ds2413))
|
||||
64
package/kernel/linux/modules/wireless.mk
Normal file
64
package/kernel/linux/modules/wireless.mk
Normal file
@@ -0,0 +1,64 @@
|
||||
#
|
||||
# Copyright (C) 2006-2008 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
WIRELESS_MENU:=Wireless Drivers
|
||||
|
||||
define KernelPackage/net-prism54
|
||||
SUBMENU:=$(WIRELESS_MENU)
|
||||
TITLE:=Intersil Prism54 support
|
||||
DEPENDS:=@PCI_SUPPORT +@DRIVER_WEXT_SUPPORT +prism54-firmware
|
||||
KCONFIG:=CONFIG_PRISM54
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/net/wireless/prism54/prism54.ko@lt4.5 \
|
||||
$(LINUX_DIR)/drivers/net/wireless/intersil/prism54/prism54.ko@ge4.5
|
||||
AUTOLOAD:=$(call AutoProbe,prism54)
|
||||
endef
|
||||
|
||||
define KernelPackage/net-prism54/description
|
||||
Kernel modules for Intersil Prism54 support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,net-prism54))
|
||||
|
||||
|
||||
define KernelPackage/net-rtl8192su
|
||||
SUBMENU:=$(WIRELESS_MENU)
|
||||
TITLE:=RTL8192SU support (staging)
|
||||
DEPENDS:=@USB_SUPPORT +@DRIVER_WEXT_SUPPORT +kmod-usb-core +rtl8192su-firmware
|
||||
KCONFIG:=\
|
||||
CONFIG_STAGING=y \
|
||||
CONFIG_R8712U
|
||||
FILES:=$(LINUX_DIR)/drivers/staging/rtl8712/r8712u.ko
|
||||
AUTOLOAD:=$(call AutoProbe,r8712u)
|
||||
endef
|
||||
|
||||
define KernelPackage/net-rtl8192su/description
|
||||
Kernel modules for RealTek RTL8712 and RTL81XXSU fullmac support.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,net-rtl8192su))
|
||||
|
||||
|
||||
define KernelPackage/owl-loader
|
||||
SUBMENU:=$(WIRELESS_MENU)
|
||||
TITLE:=Owl loader for initializing Atheros PCI(e) Wifi chips
|
||||
DEPENDS:=@PCI_SUPPORT
|
||||
KCONFIG:=CONFIG_OWL_LOADER
|
||||
FILES:=$(LINUX_DIR)/drivers/misc/owl-loader.ko
|
||||
AUTOLOAD:=$(call AutoProbe,owl-loader)
|
||||
endef
|
||||
|
||||
define KernelPackage/owl-loader/description
|
||||
Kernel module that helps to initialize certain Qualcomm
|
||||
Atheros' PCI(e) Wifi chips, which have the init data
|
||||
(which contains the PCI device ID for example) stored
|
||||
together with the calibration data in the file system.
|
||||
|
||||
This is necessary for devices like the Cisco Meraki Z1.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,owl-loader))
|
||||
134
package/kernel/linux/modules/wpan.mk
Normal file
134
package/kernel/linux/modules/wpan.mk
Normal file
@@ -0,0 +1,134 @@
|
||||
#
|
||||
# Copyright (C) 2015 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
|
||||
WPAN_MENU:=WPAN 802.15.4 Support
|
||||
|
||||
define KernelPackage/ieee802154
|
||||
SUBMENU:=$(WPAN_MENU)
|
||||
TITLE:=IEEE-802.15.4 support
|
||||
KCONFIG:= \
|
||||
CONFIG_IEEE802154 \
|
||||
CONFIG_IEEE802154_SOCKET=y \
|
||||
CONFIG_IEEE802154_NL802154_EXPERIMENTAL=n
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/net/ieee802154/ieee802154.ko \
|
||||
$(LINUX_DIR)/net/ieee802154/ieee802154_socket.ko@ge4.0
|
||||
AUTOLOAD:=$(call AutoLoad,90,ieee802154 ieee802154_socket)
|
||||
endef
|
||||
|
||||
define KernelPackage/ieee802154/description
|
||||
IEEE Std 802.15.4 defines a low data rate, low power and low
|
||||
complexity short range wireless personal area networks. It was
|
||||
designed to organise networks of sensors, switches, etc automation
|
||||
devices. Maximum allowed data rate is 250 kb/s and typical personal
|
||||
operating space around 10m.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,ieee802154))
|
||||
|
||||
define KernelPackage/mac802154
|
||||
SUBMENU:=$(WPAN_MENU)
|
||||
TITLE:=MAC-802.15.4 support
|
||||
DEPENDS:=+kmod-ieee802154 +kmod-crypto-aead +kmod-lib-crc-ccitt
|
||||
KCONFIG:= \
|
||||
CONFIG_MAC802154 \
|
||||
CONFIG_IEEE802154_DRIVERS=y
|
||||
FILES:=$(LINUX_DIR)/net/mac802154/mac802154.ko
|
||||
AUTOLOAD:=$(call AutoLoad,91,mac802154)
|
||||
endef
|
||||
|
||||
define KernelPackage/mac802154/description
|
||||
This option enables the hardware independent IEEE 802.15.4
|
||||
networking stack for SoftMAC devices (the ones implementing
|
||||
only PHY level of IEEE 802.15.4 standard).
|
||||
|
||||
Note: this implementation is neither certified, nor feature
|
||||
complete! Compatibility with other implementations hasn't
|
||||
been tested yet!
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,mac802154))
|
||||
|
||||
define KernelPackage/fakelb
|
||||
SUBMENU:=$(WPAN_MENU)
|
||||
TITLE:=Fake LR-WPAN driver
|
||||
DEPENDS:=+kmod-mac802154
|
||||
KCONFIG:=CONFIG_IEEE802154_FAKELB
|
||||
FILES:=$(LINUX_DIR)/drivers/net/ieee802154/fakelb.ko
|
||||
AUTOLOAD:=$(call AutoLoad,92,fakelb)
|
||||
endef
|
||||
|
||||
define KernelPackage/fakelb/description
|
||||
Say Y here to enable the fake driver that can emulate a net
|
||||
of several interconnected radio devices.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fakelb))
|
||||
|
||||
define KernelPackage/atusb
|
||||
SUBMENU:=$(WPAN_MENU)
|
||||
TITLE:=ATUSB transceiver driver
|
||||
DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-mac802154
|
||||
KCONFIG:=CONFIG_IEEE802154_ATUSB
|
||||
FILES:=$(LINUX_DIR)/drivers/net/ieee802154/atusb.ko
|
||||
AUTOLOAD:=$(call AutoProbe,atusb)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,atusb))
|
||||
|
||||
define KernelPackage/at86rf230
|
||||
SUBMENU:=$(WPAN_MENU)
|
||||
TITLE:=AT86RF230 transceiver driver
|
||||
DEPENDS:=+kmod-mac802154 +kmod-regmap-spi
|
||||
KCONFIG:=CONFIG_IEEE802154_AT86RF230 \
|
||||
CONFIG_IEEE802154_AT86RF230_DEBUGFS=n \
|
||||
CONFIG_SPI=y \
|
||||
CONFIG_SPI_MASTER=y
|
||||
FILES:=$(LINUX_DIR)/drivers/net/ieee802154/at86rf230.ko
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,at86rf230))
|
||||
|
||||
define KernelPackage/mrf24j40
|
||||
SUBMENU:=$(WPAN_MENU)
|
||||
TITLE:=MRF24J40 transceiver driver
|
||||
DEPENDS:=+kmod-mac802154 +kmod-regmap-spi
|
||||
KCONFIG:=CONFIG_IEEE802154_MRF24J40 \
|
||||
CONFIG_SPI=y \
|
||||
CONFIG_SPI_MASTER=y
|
||||
FILES:=$(LINUX_DIR)/drivers/net/ieee802154/mrf24j40.ko
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,mrf24j40))
|
||||
|
||||
define KernelPackage/cc2520
|
||||
SUBMENU:=$(WPAN_MENU)
|
||||
TITLE:=CC2520 transceiver driver
|
||||
DEPENDS:=+kmod-mac802154
|
||||
KCONFIG:=CONFIG_IEEE802154_CC2520 \
|
||||
CONFIG_SPI=y \
|
||||
CONFIG_SPI_MASTER=y
|
||||
FILES:=$(LINUX_DIR)/drivers/net/ieee802154/cc2520.ko
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,cc2520))
|
||||
|
||||
define KernelPackage/ieee802154_6lowpan
|
||||
SUBMENU:=$(WPAN_MENU)
|
||||
TITLE:= 6LoWPAN support over IEEE-802.15.4
|
||||
DEPENDS:=+kmod-6lowpan +kmod-ieee802154
|
||||
KCONFIG:=CONFIG_IEEE802154_6LOWPAN
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/net/ieee802154/6lowpan/ieee802154_6lowpan.ko@ge4.0 \
|
||||
$(LINUX_DIR)/net/ieee802154/ieee802154_6lowpan.ko@lt4.0
|
||||
AUTOLOAD:=$(call AutoLoad,91,ieee802154_6lowpan)
|
||||
endef
|
||||
|
||||
define KernelPackage/ieee802154_6lowpan/description
|
||||
IPv6 compression over IEEE 802.15.4
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,ieee802154_6lowpan))
|
||||
Reference in New Issue
Block a user