Compiling a specific driver
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
Quoted 7 lines · Ioana Ciornei
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
Quoted 10 lines · Jes Sorensen
Quoted 7 lines · Ioana Ciornei
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.
Quoted 8 lines
If you are working on a specific driver, you can type something like this:
make
drivers/staging/rtl8723au/r8723au.koCheers,
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
Quoted 23 lines · Ioana Ciornei
Quoted 10 lines · Jes Sorensen
Quoted 7 lines · Ioana Ciornei
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.
Quoted 8 lines
If you are working on a specific driver, you can type something like this:
make
drivers/staging/rtl8723au/r8723au.koCheers,
JesI run the following command as you suggested:
makedrivers/staging/wlan-ng/wlan-ng.ko
but I get the output:
Quoted 7 lines
CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CALL scripts/checksyscalls.shmake[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
Quoted 6 lines
--
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 [email protected].
To post to this group, send email to [email protected].
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.
Quoted 32 lines · Ksenija Stanojević
Quoted 23 lines · Ioana Ciornei
Quoted 10 lines · Jes Sorensen
Quoted 7 lines · Ioana Ciornei
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.
Quoted 8 lines
If you are working on a specific driver, you can type something like this:
make
drivers/staging/rtl8723au/r8723au.koCheers,
JesI run the following command as you suggested:
makedrivers/staging/wlan-ng/wlan-ng.ko
but I get the output:Quoted 7 lines
CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CALL scripts/checksyscalls.shmake[1]: *** No rule to make target
`drivers/staging/wlan-ng/wlan-ng.o'. Stop.
make: *** [drivers/staging/wlan-ng/wlan-ng.ko] Error 2
Quoted 1 line
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
Quoted 8 lines
Ksenija
Quoted 6 lines
--
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 [email protected].
To post to this group, send email to [email protected].
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.