Re: Kconfig options and make command line
On Sun, 26 Oct 2014 12:01:05 -0400, John de la Garza said: > On Sun, Oct 26, 2014 at 09:25:01AM +0100, Peter Senna Tschudin wrote: > > Sorry for the noise. > > > > $ make allyesconfig drivers/staging/rtl8723au/ > > > > does the trick. > > > > that seems like overkill, why not just enable the CONFIG_8723AU_AP_MODE > setting? Not only is it overkill, the resulting .o file can't be modprobed into a kernel. Enabling the Kconfig variable is a better answer. pgpNn48ehwJrB.pgp Description: PGP signature ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Kconfig options and make command line
On Sun, Oct 26, 2014 at 09:25:01AM +0100, Peter Senna Tschudin wrote: > Sorry for the noise. > > $ make allyesconfig drivers/staging/rtl8723au/ > > does the trick. > that seems like overkill, why not just enable the CONFIG_8723AU_AP_MODE setting? ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Kconfig options and make command line
Sorry for the noise. $ make allyesconfig drivers/staging/rtl8723au/ does the trick. On Sun, Oct 26, 2014 at 9:19 AM, Peter Senna Tschudin wrote: > 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 -- Peter ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Kconfig options and make command line
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 ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies