Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
通常在内核级别make file包含
make file
$(CONFIG_SERIAL_DEVICE) += serial.o
当我们创建用户级别make file时,它会.o从该特定文件夹中找到文件。但在这,serial.o存在于哪里??
.o
serial.o
例如
drivers/serial/Makefile:obj-$(CONFIG_SERIAL_TXX9)+=serial_txx9.o
内核串行驱动程序中的这个 Makefile 将根据各自内核代码的 .config 构建。它将从 .config 中选择静态或动态构建等详细信息。
?