1. 配置该模块为[M]

2. 编译

  make modules SUBDIRS=./drivers/rtc (5.3的内核为make modules M=./drivers/rtc)

3. 安装

  make modules_install SUBDIRS=./drivers/rtc (5.3的内核为make modules_install M=./drivers/rtc)

05-11 22:52