Kconfig options and make command line

Peter Senna Tschudin peter.senna at gmail.com
Sun Oct 26 04:19:37 EDT 2014


I was trying to compile the file:

drivers/staging/rtl8723au/core/rtw_ap.c

but

$ make drivers/staging/rtl8723au/core/rtw_ap.o

doesn't work as there is no Makefile at core directory.

Doing:

$ make drivers/staging/rtl8723au/

doesn't work also as rtw_ap.c is only compiled under certain Kconfig
conditions due this line at the Makefile:

r8723au-$(CONFIG_8723AU_AP_MODE) += core/rtw_ap.o

So is there a way to compile rtw_ap.o by just passing arguments to make?

-- 
Peter



More information about the Kernelnewbies mailing list