From: Jes Sorensen <jes.sorensen@gmail.com>
To: "Ksenija Stanojević" <ksenija.stanojevic@gmail.com>,
"Ioana Ciornei" <ciorneiioana@gmail.com>
Cc: outreachy-kernel@googlegroups.com
Subject: Re: [Outreachy kernel] Compiling a specific driver
Date: Tue, 17 Mar 2015 12:43:33 -0400 [thread overview]
Message-ID: <550859B5.70807@gmail.com> (raw)
In-Reply-To: <CAL7P5jK_9A4zR=fig8KcUrw3yCHOL7N5GOs-nUfF-wf-B2=Cuw@mail.gmail.com>
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.
prev parent reply other threads:[~2015-03-17 16:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=550859B5.70807@gmail.com \
--to=jes.sorensen@gmail.com \
--cc=ciorneiioana@gmail.com \
--cc=ksenija.stanojevic@gmail.com \
--cc=outreachy-kernel@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.