在drivers中加入kwan 文件夹
在kwan中
Kconfig
menuconfig KWAN
tristate "kwan for testdefault n
help
nothing
if KWAN
config VMS_INPUT
tristate "vms support"
default n
help
nothing
endif
Makefile
obj-$(CONFIG_VMS_INPUT) += vms.o
在driver中
Kconfig
source "drivers/kwan/Kconfig"
Makfile 中
obj-y += kwan/
在arch/arm/Kconfig中
source "drivers/kwan/Kconfig"
在drivers中集成kwan模块及配置

本文详细介绍了如何在drivers目录下整合kwan文件夹,并通过Kconfig和Makefile进行配置,包括选择性启用VMS输入支持,以及源文件的引入与目标文件的配置。同时,在不同架构配置中实现kwan模块的适配。
1782

被折叠的 条评论
为什么被折叠?



