Hi
I'm using i.MX8QM,the development environment is Android13_car.I have a problem with generate device driver.
I added an i2c device in 8QM,and the driver program is written. this driver file in vendor/nxp-opensource/kernel_imx/drivers/mydevice.And then , I create Kconfig and Makefile,and modified upper-level directory,the modification is as follows:
mydevice/Kconfig :
config xxx_test
tristate "xxx_test"
help
this is my device driver
mydevice/Makefile:
obj-$(CONFIG_XXX_TEST) += test.o
drivers/Kconfig:
# add source
source "drivers/myfm/Kconfig"
drivers/Makefile:
obj-$(CONFIG_XXX_TEST) += mydevice/
Then i set the option to m by make menuconfig in the kernel directory
I checked .config file,appended CONFIG_XXX_TEST = m
No gererate .ko file when use make command
Can you tell me what the reason is,and how to generate. ko files