All of lore.kernel.org
 help / color / mirror / Atom feed
* Kconfig options and make command line
@ 2014-10-26  8:19 Peter Senna Tschudin
  2014-10-26  8:25 ` Peter Senna Tschudin
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Senna Tschudin @ 2014-10-26  8:19 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Kconfig options and make command line
  2014-10-26  8:19 Kconfig options and make command line Peter Senna Tschudin
@ 2014-10-26  8:25 ` Peter Senna Tschudin
  2014-10-26 16:01   ` John de la Garza
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Senna Tschudin @ 2014-10-26  8:25 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Kconfig options and make command line
  2014-10-26  8:25 ` Peter Senna Tschudin
@ 2014-10-26 16:01   ` John de la Garza
  2014-10-26 18:10     ` Valdis.Kletnieks at vt.edu
  0 siblings, 1 reply; 4+ messages in thread
From: John de la Garza @ 2014-10-26 16:01 UTC (permalink / raw)
  To: kernelnewbies

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?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Kconfig options and make command line
  2014-10-26 16:01   ` John de la Garza
@ 2014-10-26 18:10     ` Valdis.Kletnieks at vt.edu
  0 siblings, 0 replies; 4+ messages in thread
From: Valdis.Kletnieks at vt.edu @ 2014-10-26 18:10 UTC (permalink / raw)
  To: kernelnewbies

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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141026/c1a625d1/attachment.bin 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-10-26 18:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-26  8:19 Kconfig options and make command line Peter Senna Tschudin
2014-10-26  8:25 ` Peter Senna Tschudin
2014-10-26 16:01   ` John de la Garza
2014-10-26 18:10     ` Valdis.Kletnieks at vt.edu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.