1
0
mirror of https://github.com/morrownr/8821cu-20210916.git synced 2024-12-22 06:15:50 +00:00

Makefile plus minor updates

This commit is contained in:
morrownr 2022-11-18 20:46:45 -06:00
parent 89498dd50d
commit 9a4732c8a0
2 changed files with 16 additions and 9 deletions

View File

@ -14,6 +14,7 @@ EXTRA_CFLAGS += -Wno-unused-variable
#EXTRA_CFLAGS += -Wno-unused-function
#EXTRA_CFLAGS += -Wno-unused
#EXTRA_CFLAGS += -Wno-uninitialized
#EXTRA_CFLAGS += -Wno-vla
EXTRA_CFLAGS += -Wno-misleading-indentation
EXTRA_CFLAGS += -Wno-implicit-fallthrough
#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
endif
# *** GENERIC ***
ifeq ($(CONFIG_PLATFORM_GENERIC), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
SUBARCH := $(shell uname -m)
ifeq ($(SUBARCH), aarch64)
SUBARCH := arm64
endif
ifeq ($(SUBARCH), armv7l)
SUBARCH := arm
endif
ARCH ?= $(SUBARCH)
CROSS_COMPILE ?=
KVER ?= $(shell uname -r)
KSRC := /lib/modules/$(KVER)/build
@ -1356,7 +1365,7 @@ STAGINGMODDIR := /lib/modules/$(KVER)/kernel/drivers/staging
#EXTRA_CFLAGS += -DCONFIG_PLATFORM_ROCKCHIPS
# End of Platform Specific Flags
endif
# *** End GENERIC ***
ifeq ($(CONFIG_PLATFORM_I386_PC), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN

View File

@ -42,8 +42,8 @@ confirm that this is the correct driver for your adapter.
- x86
- x86-64 (amd64)
- arm
- arm64 (aarch64)
- arm (armv7l)
- arm64 (aarch64)
### 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.
If you see information that needs to be updated, please report the
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
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
benefit of Linux users who already have adapters based on the supported
chipsets. If you are looking for information about what adapter to buy,
click [here](https://github.com/morrownr/USB-WiFi) for information about
and links to recommended adapters.
click [here](https://github.com/morrownr/USB-WiFi) and look for Main Menu
item 2 which will show information about and links to recommended adapters.
* Cudy WU700
* EDUP EP-AC1651
@ -116,8 +116,6 @@ and links to recommended adapters.
* Mercusys MU6H (multi-state)
* 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
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
```
sudo dnf -y install git dkms kernel-devel kernel-debug-devel
sudo dnf -y install git dkms kernel-devel openssl
```
- Option for openSUSE