mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
kernel: modularize dma shared buffer code to eliminate kernel bloat
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r48371 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48392 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -101,6 +101,16 @@ endef
|
||||
$(eval $(call KernelPackage,bluetooth-hci-h4p))
|
||||
|
||||
|
||||
define KernelPackage/dma-buf
|
||||
TITLE:=DMA shared buffer support
|
||||
HIDDEN:=1
|
||||
KCONFIG:=CONFIG_DMA_SHARED_BUFFER
|
||||
FILES:=$(LINUX_DIR)/drivers/dma-buf/dma-shared-buffer.ko
|
||||
AUTOLOAD:=$(call AutoLoad,20,dma-shared-buffer)
|
||||
endef
|
||||
$(eval $(call KernelPackage,dma-buf))
|
||||
|
||||
|
||||
define KernelPackage/eeprom-93cx6
|
||||
SUBMENU:=$(OTHER_MENU)
|
||||
TITLE:=EEPROM 93CX6 support
|
||||
|
||||
@@ -121,6 +121,7 @@ endef
|
||||
|
||||
define KernelPackage/video-videobuf2
|
||||
TITLE:=videobuf2 lib
|
||||
DEPENDS:=+kmod-dma-buf
|
||||
KCONFIG:= \
|
||||
CONFIG_VIDEOBUF2_CORE \
|
||||
CONFIG_VIDEOBUF2_MEMOPS \
|
||||
|
||||
Reference in New Issue
Block a user