KBUILD_MODNAME=KBUILD_STR()‏

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please bear with me as I'm new to kbuild. I'm compiling a driver for
the kernel 2.6.18

The command 'make' reads the Makefile(s) and builds the .*.o.cmd files
from the driver source code.

I see this string in the .*.o.cmd file as gcc parameter:

-D"KBUILD_MODNAME=KBUILD_STR(dma_module)"

My problem is that dma_module is a name that does neither exist in any
source file of the driver nor in any Makefile.

Question: how does 'make' detects/writes that name, dma_module ?

Also, I cannot find any documentation for kbuild in this kernel
version. Any hint about where I can find it?

Thanks a lot and Regards
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux