Tool/software: Linux
I have added a file called spi-tianma.c under /drivers/spi directory. And I added a line in the Makefile under spi directory as following:
# small core, mostly translating board-specific
# config declarations into driver model code
obj-$(CONFIG_SPI_MASTER) += spi.o
obj-$(CONFIG_SPI_SPIDEV) += spidev.o
obj-$(CONFIG_SPI_LOOPBACK_TEST) += spi-loopback-test.o
spi-tianma-obj := spi-tianma.o
however, the spi-tianma is not included into the build, no object file is generated.
Why?
Thanks.