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
Sorry for the noise. $ make allyesconfig drivers/staging/rtl8723au/ does the trick. On Sun, Oct 26, 2014 at 9:19 AM, Peter Senna Tschudin <peter.senna@gmail.com> 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
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.
participants (3)
-
John de la Garza -
Peter Senna Tschudin -
Valdis.Kletnieks@vt.edu