mirror of
https://github.com/morrownr/8821cu-20210916.git
synced 2024-09-10 00:56:35 +00:00
Makefile plus minor updates
This commit is contained in:
parent
89498dd50d
commit
9a4732c8a0
11
Makefile
11
Makefile
@ -14,6 +14,7 @@ EXTRA_CFLAGS += -Wno-unused-variable
|
|||||||
#EXTRA_CFLAGS += -Wno-unused-function
|
#EXTRA_CFLAGS += -Wno-unused-function
|
||||||
#EXTRA_CFLAGS += -Wno-unused
|
#EXTRA_CFLAGS += -Wno-unused
|
||||||
#EXTRA_CFLAGS += -Wno-uninitialized
|
#EXTRA_CFLAGS += -Wno-uninitialized
|
||||||
|
#EXTRA_CFLAGS += -Wno-vla
|
||||||
EXTRA_CFLAGS += -Wno-misleading-indentation
|
EXTRA_CFLAGS += -Wno-misleading-indentation
|
||||||
EXTRA_CFLAGS += -Wno-implicit-fallthrough
|
EXTRA_CFLAGS += -Wno-implicit-fallthrough
|
||||||
#EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
#EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||||
@ -1338,12 +1339,20 @@ EXTRA_CFLAGS += -DCONFIG_RTW_MBO -DCONFIG_RTW_80211K -DCONFIG_RTW_WNM -DCONFIG_R
|
|||||||
EXTRA_CFLAGS += -DCONFIG_RTW_80211R
|
EXTRA_CFLAGS += -DCONFIG_RTW_80211R
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# *** GENERIC ***
|
||||||
ifeq ($(CONFIG_PLATFORM_GENERIC), y)
|
ifeq ($(CONFIG_PLATFORM_GENERIC), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||||
|
|
||||||
SUBARCH := $(shell uname -m)
|
SUBARCH := $(shell uname -m)
|
||||||
|
ifeq ($(SUBARCH), aarch64)
|
||||||
|
SUBARCH := arm64
|
||||||
|
endif
|
||||||
|
ifeq ($(SUBARCH), armv7l)
|
||||||
|
SUBARCH := arm
|
||||||
|
endif
|
||||||
ARCH ?= $(SUBARCH)
|
ARCH ?= $(SUBARCH)
|
||||||
|
|
||||||
CROSS_COMPILE ?=
|
CROSS_COMPILE ?=
|
||||||
KVER ?= $(shell uname -r)
|
KVER ?= $(shell uname -r)
|
||||||
KSRC := /lib/modules/$(KVER)/build
|
KSRC := /lib/modules/$(KVER)/build
|
||||||
@ -1356,7 +1365,7 @@ STAGINGMODDIR := /lib/modules/$(KVER)/kernel/drivers/staging
|
|||||||
#EXTRA_CFLAGS += -DCONFIG_PLATFORM_ROCKCHIPS
|
#EXTRA_CFLAGS += -DCONFIG_PLATFORM_ROCKCHIPS
|
||||||
# End of Platform Specific Flags
|
# End of Platform Specific Flags
|
||||||
endif
|
endif
|
||||||
|
# *** End GENERIC ***
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_I386_PC), y)
|
ifeq ($(CONFIG_PLATFORM_I386_PC), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||||
|
14
README.md
14
README.md
@ -42,8 +42,8 @@ confirm that this is the correct driver for your adapter.
|
|||||||
|
|
||||||
- x86
|
- x86
|
||||||
- x86-64 (amd64)
|
- x86-64 (amd64)
|
||||||
- arm
|
- arm (armv7l)
|
||||||
- arm64 (aarch64)
|
- arm64 (aarch64)
|
||||||
|
|
||||||
### Compatible Kernels
|
### Compatible Kernels
|
||||||
|
|
||||||
@ -57,7 +57,7 @@ is easy to install and works reliably on many distros. Meeting this goal
|
|||||||
depends on you to report your recommendations and updated information.
|
depends on you to report your recommendations and updated information.
|
||||||
If you see information that needs to be updated, please report the
|
If you see information that needs to be updated, please report the
|
||||||
updated information and if you do not see adequate support for
|
updated information and if you do not see adequate support for
|
||||||
items such as Installation Steps 2, 3 and 9, and you know what updates
|
items such as Installation Steps 2 and 3, and you know what updates
|
||||||
need to added or you can get that information, please provide it so that
|
need to added or you can get that information, please provide it so that
|
||||||
the Installation Steps can be improved.
|
the Installation Steps can be improved.
|
||||||
|
|
||||||
@ -106,8 +106,8 @@ lack of mac80211 technology drivers that are supported in-kernel as
|
|||||||
called for by Linux Wireless Standards. This repo is supported for the
|
called for by Linux Wireless Standards. This repo is supported for the
|
||||||
benefit of Linux users who already have adapters based on the supported
|
benefit of Linux users who already have adapters based on the supported
|
||||||
chipsets. If you are looking for information about what adapter to buy,
|
chipsets. If you are looking for information about what adapter to buy,
|
||||||
click [here](https://github.com/morrownr/USB-WiFi) for information about
|
click [here](https://github.com/morrownr/USB-WiFi) and look for Main Menu
|
||||||
and links to recommended adapters.
|
item 2 which will show information about and links to recommended adapters.
|
||||||
|
|
||||||
* Cudy WU700
|
* Cudy WU700
|
||||||
* EDUP EP-AC1651
|
* EDUP EP-AC1651
|
||||||
@ -116,8 +116,6 @@ and links to recommended adapters.
|
|||||||
* Mercusys MU6H (multi-state)
|
* Mercusys MU6H (multi-state)
|
||||||
* Numerous additional products that are based on the supported chipsets
|
* Numerous additional products that are based on the supported chipsets
|
||||||
|
|
||||||
Note: Please read "supported-device-IDs" for information about how to confirm the correct driver for your adapter.
|
|
||||||
|
|
||||||
### Installation Information
|
### Installation Information
|
||||||
|
|
||||||
Warning: Installing multiple drivers for the same hardware usually does
|
Warning: Installing multiple drivers for the same hardware usually does
|
||||||
@ -254,7 +252,7 @@ sudo apt install -y build-essential dkms git
|
|||||||
- Option for Fedora
|
- Option for Fedora
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo dnf -y install git dkms kernel-devel kernel-debug-devel
|
sudo dnf -y install git dkms kernel-devel openssl
|
||||||
```
|
```
|
||||||
|
|
||||||
- Option for openSUSE
|
- Option for openSUSE
|
||||||
|
Loading…
Reference in New Issue
Block a user