How to build wil6210 driver from source code from Git

Masoud

I want to build and install wil6210 drive which is in the Linux upstream. I have managed to download the source from here. The folder contains Makefile and another file named Kconfig. When I try to make it says: make: *** No targets. Stop. I tried using different config files but they did not work. Here is the result:

elans@elans-TravelMate-P446-M:~/linux-source/wil6210$ ./configure
bash: ./configure: No such file or directory
elans@elans-TravelMate-P446-M:~/linux-source/wil6210$ ./Kconfig
bash: ./Kconfig: Permission denied
elans@elans-TravelMate-P446-M:~/linux-source/wil6210$ sudo ./Kconfig
sudo: ./Kconfig: command not found
elans@elans-TravelMate-P446-M:~/linux-source/wil6210$ make
make: *** No targets.  Stop.

Here is the content of the Makefile:

# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_WIL6210) += wil6210.o

wil6210-y := main.o
wil6210-y += netdev.o
wil6210-y += cfg80211.o
wil6210-y += pcie_bus.o
wil6210-$(CONFIG_WIL6210_DEBUGFS) += debugfs.o
wil6210-y += wmi.o
wil6210-y += interrupt.o
wil6210-y += txrx.o
wil6210-y += debug.o
wil6210-y += rx_reorder.o
wil6210-y += fw.o
wil6210-y += pm.o
wil6210-y += pmc.o
wil6210-$(CONFIG_WIL6210_TRACING) += trace.o
wil6210-y += wil_platform.o
wil6210-y += ethtool.o
wil6210-y += wil_crash_dump.o
wil6210-y += p2p.o

# for tracing framework to find trace.h
CFLAGS_trace.o := -I$(src)

What can be the problem?

mdahhani

In order to compile only a specific module form the kernel source code you need the following command. Check this

Basically you need to cd to wil6210 code directory and run the following command:

make -C /lib/modules/$(uname -r)/build M=$(pwd) modules

Make sure to change the $(uname -r) to your target kernel version, i.e. the kernel version of the system you want your wil6210 module to work on

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Debugging re-compilation of wil6210 driver for LEDE v17.01.2

From Dev

How can I build KDE Dolphin from its source code?

From Dev

How to build libssl.a for iOS from source code?

From Dev

How to build Compiz from source?

From Dev

'Decimal' source code from Microsoft - will it build?

From Dev

Can't build Cassandra from source code

From Dev

build a cordova plugin for android from source code

From Dev

--build configuration option prior to compiling mono from a git source code checkout

From Dev

Recover project source code from .git directory

From Dev

How do I build libcurl from source?

From Dev

How to build a .deb file for CMake from source?

From Dev

How to build Chameleon bootloader from SVN source?

From Dev

How to build Chromium from source on OpenBSD?

From Dev

How do I build Unity from source?

From Dev

How do I build libcurl from source?

From Dev

Fullcalendar js how to build from source

From Dev

How to build Chameleon bootloader from SVN source?

From Dev

How to build the GDB documentation from source?

From Dev

How to build Firefox from 4.0 source and optimize it?

From Dev

How to build gnuradio without the documentation (from source)

From Dev

Build HikariCP from source

From Dev

How clone qt source from git

From Dev

How to extract the source files from a git repository?

From Dev

Can't build json.me from the available source code

From Dev

SoapUI. Build from source code fails with "unresolved dependencies"

From Dev

Can't build SceneBuild from openjfx source code and setup

From Dev

Hide source code from build executable in electron-app

From Dev

Can't build json.me from the available source code

From Dev

Hide source code from build executable in electron-app

Related Related

  1. 1

    Debugging re-compilation of wil6210 driver for LEDE v17.01.2

  2. 2

    How can I build KDE Dolphin from its source code?

  3. 3

    How to build libssl.a for iOS from source code?

  4. 4

    How to build Compiz from source?

  5. 5

    'Decimal' source code from Microsoft - will it build?

  6. 6

    Can't build Cassandra from source code

  7. 7

    build a cordova plugin for android from source code

  8. 8

    --build configuration option prior to compiling mono from a git source code checkout

  9. 9

    Recover project source code from .git directory

  10. 10

    How do I build libcurl from source?

  11. 11

    How to build a .deb file for CMake from source?

  12. 12

    How to build Chameleon bootloader from SVN source?

  13. 13

    How to build Chromium from source on OpenBSD?

  14. 14

    How do I build Unity from source?

  15. 15

    How do I build libcurl from source?

  16. 16

    Fullcalendar js how to build from source

  17. 17

    How to build Chameleon bootloader from SVN source?

  18. 18

    How to build the GDB documentation from source?

  19. 19

    How to build Firefox from 4.0 source and optimize it?

  20. 20

    How to build gnuradio without the documentation (from source)

  21. 21

    Build HikariCP from source

  22. 22

    How clone qt source from git

  23. 23

    How to extract the source files from a git repository?

  24. 24

    Can't build json.me from the available source code

  25. 25

    SoapUI. Build from source code fails with "unresolved dependencies"

  26. 26

    Can't build SceneBuild from openjfx source code and setup

  27. 27

    Hide source code from build executable in electron-app

  28. 28

    Can't build json.me from the available source code

  29. 29

    Hide source code from build executable in electron-app

HotTag

Archive