What are the source files for a given Kconfig symbol?

Peter Senna Tschudin peter.senna at gmail.com
Thu Aug 22 11:14:16 EDT 2013


I'm writing scripts to get source code files for a given Kconfig
symbol such as ALX. I'm expecting something like:

./scripts/Kconfig-files.pl ALX
drivers/net/ethernet/atheros/alx/alx.h
drivers/net/ethernet/atheros/alx/main.c
drivers/net/ethernet/atheros/alx/ethtool.c
drivers/net/ethernet/atheros/alx/hw.h
drivers/net/ethernet/atheros/alx/hw.c
drivers/net/ethernet/atheros/alx/reg.h

Is there a standard way of doing that? The scripts I'm working on uses
Makefile contents and look for #include "" on the source code.


-- 
Peter



More information about the Kernelnewbies mailing list