All of lore.kernel.org
 help / color / mirror / Atom feed
* Compiling a specific driver
@ 2015-03-17 13:53 Ioana Ciornei
  2015-03-17 15:09 ` [Outreachy kernel] " Jes Sorensen
  0 siblings, 1 reply; 5+ messages in thread
From: Ioana Ciornei @ 2015-03-17 13:53 UTC (permalink / raw)
  To: outreachy-kernel


[-- Attachment #1.1: Type: text/plain, Size: 375 bytes --]

I was wondering if anyone could explain the steps to be followed in order 
to make sure the driver I am working on is compiled
when running 'make -j5'. 

So far, I did the steps explained at [1], under the 'Recompiling the 
driver' section, but when selecting 'Staging drivers' the driver list is 
empty.

Thanks a lot.

Ioana

[1] http://kernelnewbies.org/FirstKernelPatch 

[-- Attachment #1.2: Type: text/html, Size: 508 bytes --]

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

* Re: [Outreachy kernel] Compiling a specific driver
  2015-03-17 13:53 Compiling a specific driver Ioana Ciornei
@ 2015-03-17 15:09 ` Jes Sorensen
  2015-03-17 16:14   ` Ioana Ciornei
  0 siblings, 1 reply; 5+ messages in thread
From: Jes Sorensen @ 2015-03-17 15:09 UTC (permalink / raw)
  To: Ioana Ciornei, outreachy-kernel

On 03/17/15 09:53, Ioana Ciornei wrote:
> I was wondering if anyone could explain the steps to be followed in order 
> to make sure the driver I am working on is compiled
> when running 'make -j5'. 
> 
> So far, I did the steps explained at [1], under the 'Recompiling the 
> driver' section, but when selecting 'Staging drivers' the driver list is 
> empty.

If you are working on a specific driver, you can type something like this:

make drivers/staging/rtl8723au/r8723au.ko

Cheers,
Jes




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

* Re: [Outreachy kernel] Compiling a specific driver
  2015-03-17 15:09 ` [Outreachy kernel] " Jes Sorensen
@ 2015-03-17 16:14   ` Ioana Ciornei
  2015-03-17 16:15     ` Ksenija Stanojević
  0 siblings, 1 reply; 5+ messages in thread
From: Ioana Ciornei @ 2015-03-17 16:14 UTC (permalink / raw)
  To: Jes Sorensen; +Cc: outreachy-kernel

On Tue, Mar 17, 2015 at 5:09 PM, Jes Sorensen <jes.sorensen@gmail.com> wrote:
>
> On 03/17/15 09:53, Ioana Ciornei wrote:
> > I was wondering if anyone could explain the steps to be followed in order
> > to make sure the driver I am working on is compiled
> > when running 'make -j5'.
> >
> > So far, I did the steps explained at [1], under the 'Recompiling the
> > driver' section, but when selecting 'Staging drivers' the driver list is
> > empty.
>
> If you are working on a specific driver, you can type something like this:
>
> make drivers/staging/rtl8723au/r8723au.ko
>
> Cheers,
> Jes
>
>

I run the following command as you suggested:
      make drivers/staging/wlan-ng/wlan-ng.ko
but I get the output:
     CHK     include/config/kernel.release
     CHK     include/generated/uapi/linux/version.h
     CHK     include/generated/utsrelease.h
     CALL    scripts/checksyscalls.sh
     make[1]: *** No rule to make target
`drivers/staging/wlan-ng/wlan-ng.o'.  Stop.
     make: *** [drivers/staging/wlan-ng/wlan-ng.ko] Error 2


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

* Re: [Outreachy kernel] Compiling a specific driver
  2015-03-17 16:14   ` Ioana Ciornei
@ 2015-03-17 16:15     ` Ksenija Stanojević
  2015-03-17 16:43       ` Jes Sorensen
  0 siblings, 1 reply; 5+ messages in thread
From: Ksenija Stanojević @ 2015-03-17 16:15 UTC (permalink / raw)
  To: Ioana Ciornei; +Cc: Jes Sorensen, outreachy-kernel

On Tue, Mar 17, 2015 at 5:14 PM, Ioana Ciornei <ciorneiioana@gmail.com> wrote:
> On Tue, Mar 17, 2015 at 5:09 PM, Jes Sorensen <jes.sorensen@gmail.com> wrote:
>>
>> On 03/17/15 09:53, Ioana Ciornei wrote:
>> > I was wondering if anyone could explain the steps to be followed in order
>> > to make sure the driver I am working on is compiled
>> > when running 'make -j5'.
>> >
>> > So far, I did the steps explained at [1], under the 'Recompiling the
>> > driver' section, but when selecting 'Staging drivers' the driver list is
>> > empty.
>>
>> If you are working on a specific driver, you can type something like this:
>>
>> make drivers/staging/rtl8723au/r8723au.ko
>>
>> Cheers,
>> Jes
>>
>>
>
> I run the following command as you suggested:
>       make drivers/staging/wlan-ng/wlan-ng.ko
> but I get the output:
>      CHK     include/config/kernel.release
>      CHK     include/generated/uapi/linux/version.h
>      CHK     include/generated/utsrelease.h
>      CALL    scripts/checksyscalls.sh
>      make[1]: *** No rule to make target
> `drivers/staging/wlan-ng/wlan-ng.o'.  Stop.
>      make: *** [drivers/staging/wlan-ng/wlan-ng.ko] Error 2

try /drivers/staging/wlan-ng/wlan-ng.o

Ksenija

> --
> You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com.
> To post to this group, send email to outreachy-kernel@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/CAHWJYFn2NXmW6GkE4XzDpCyF_YU3jy0m22beZcHiN44QMEPzaA%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.


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

* Re: [Outreachy kernel] Compiling a specific driver
  2015-03-17 16:15     ` Ksenija Stanojević
@ 2015-03-17 16:43       ` Jes Sorensen
  0 siblings, 0 replies; 5+ messages in thread
From: Jes Sorensen @ 2015-03-17 16:43 UTC (permalink / raw)
  To: Ksenija Stanojević, Ioana Ciornei; +Cc: outreachy-kernel

On 03/17/15 12:15, Ksenija Stanojević wrote:
> On Tue, Mar 17, 2015 at 5:14 PM, Ioana Ciornei <ciorneiioana@gmail.com> wrote:
>> On Tue, Mar 17, 2015 at 5:09 PM, Jes Sorensen <jes.sorensen@gmail.com> wrote:
>>>
>>> On 03/17/15 09:53, Ioana Ciornei wrote:
>>>> I was wondering if anyone could explain the steps to be followed in order
>>>> to make sure the driver I am working on is compiled
>>>> when running 'make -j5'.
>>>>
>>>> So far, I did the steps explained at [1], under the 'Recompiling the
>>>> driver' section, but when selecting 'Staging drivers' the driver list is
>>>> empty.
>>>
>>> If you are working on a specific driver, you can type something like this:
>>>
>>> make drivers/staging/rtl8723au/r8723au.ko
>>>
>>> Cheers,
>>> Jes
>>>
>>>
>>
>> I run the following command as you suggested:
>>       make drivers/staging/wlan-ng/wlan-ng.ko
>> but I get the output:
>>      CHK     include/config/kernel.release
>>      CHK     include/generated/uapi/linux/version.h
>>      CHK     include/generated/utsrelease.h
>>      CALL    scripts/checksyscalls.sh
>>      make[1]: *** No rule to make target
>> `drivers/staging/wlan-ng/wlan-ng.o'.  Stop.
>>      make: *** [drivers/staging/wlan-ng/wlan-ng.ko] Error 2
> 
> try /drivers/staging/wlan-ng/wlan-ng.o

[jes@ultrasam jes.git]$ cat drivers/staging/wlan-ng/Makefile
obj-$(CONFIG_PRISM2_USB) += prism2_usb.o

prism2_usb-y := prism2usb.o \
		p80211conv.o \
		p80211req.o \
		p80211wep.o \
		p80211netdev.o

There is no wlan-ng.o object, try 'prism2_usb.ko'

Cheers,
Jes

> Ksenija
> 
>> --
>> You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com.
>> To post to this group, send email to outreachy-kernel@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/CAHWJYFn2NXmW6GkE4XzDpCyF_YU3jy0m22beZcHiN44QMEPzaA%40mail.gmail.com.
>> For more options, visit https://groups.google.com/d/optout.



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

end of thread, other threads:[~2015-03-17 16:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-17 13:53 Compiling a specific driver Ioana Ciornei
2015-03-17 15:09 ` [Outreachy kernel] " Jes Sorensen
2015-03-17 16:14   ` Ioana Ciornei
2015-03-17 16:15     ` Ksenija Stanojević
2015-03-17 16:43       ` Jes Sorensen

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.