forked from Seeed-Studio/reCamera-OS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
22bdbd7
commit 3afefbf
Showing
3 changed files
with
56 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
config BR2_PACKAGE_RTL88x2EU_OPENHD | ||
bool "RTL88x2EU-openhd" | ||
depends on BR2_LINUX_KERNEL | ||
help | ||
A standalone driver for the RTL88x2EU / RTL8821AU Dual Band | ||
USB Wi-Fi adapter. | ||
|
||
Make sure your target kernel has the CONFIG_WIRELESS_EXT | ||
config option enabled. | ||
|
||
Note: this package needs a firmware loading mechanism to | ||
load the binary blob for the chip to work. | ||
|
||
https://github.com/aircrack-ng/RTL88x2EU/ | ||
|
||
comment "RTL88x2EU needs a Linux kernel to be built" | ||
depends on !BR2_LINUX_KERNEL |
38 changes: 38 additions & 0 deletions
38
external/buildroot/package/rtl8812eu-openhd/rtl8812au-openhd.mk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
################################################################################ | ||
# | ||
# RTL88x2EU-openhd | ||
# | ||
################################################################################ | ||
|
||
RTL88x2EU_OPENHD_VERSION = {{VERSION}} | ||
RTL88x2EU_OPENHD_SITE = $(call github,OpenHD,rtl88x2eu,$(RTL88x2EU_OPENHD_VERSION)) | ||
|
||
RTL88x2EU_OPENHD_LICENSE = GPL-2.0 | ||
RTL88x2EU_OPENHD_LICENSE_FILES = COPYING | ||
|
||
RTL88x2EU_OPENHD_EXTRA_CFLAGS = \ | ||
-DCONFIG_$(call qstrip,$(BR2_ENDIAN))_ENDIAN \ | ||
-DCONFIG_IOCTL_CFG80211 \ | ||
-DRTW_USE_CFG80211_STA_EVENT \ | ||
-Wno-error=address \ | ||
-Wno-error=array-bounds \ | ||
-Wno-error=cast-function-type | ||
|
||
RTL88x2EU_OPENHD_MODULE_MAKE_OPTS = \ | ||
CONFIG_RTL88x2EU=m \ | ||
CONFIG_PLATFORM_I386_PC=n \ | ||
CONFIG_88XXEU=m \ | ||
KVER=$(LINUX_VERSION_PROBED) \ | ||
KSRC=$(LINUX_DIR) \ | ||
USER_EXTRA_CFLAGS="$(RTL88x2EU_OPENHD_EXTRA_CFLAGS)" | ||
|
||
define RTL88x2EU_OPENHD_LINUX_CONFIG_FIXUPS | ||
$(call KCONFIG_ENABLE_OPT,CONFIG_NET) | ||
$(call KCONFIG_ENABLE_OPT,CONFIG_WIRELESS) | ||
$(call KCONFIG_ENABLE_OPT,CONFIG_CFG80211) | ||
$(call KCONFIG_ENABLE_OPT,CONFIG_USB_SUPPORT) | ||
$(call KCONFIG_ENABLE_OPT,CONFIG_USB) | ||
endef | ||
|
||
$(eval $(kernel-module)) | ||
$(eval $(generic-package)) |