1
0
mirror of https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git synced 2025-08-16 08:34:15 +02:00

25 Commits

Author SHA1 Message Date
rafaelpierri
981899f422 Sets default compilation system to PC and fixes method signature for Kernel 5.2+ (#303) 2019-07-23 17:25:35 -07:00
jAlex
d277c3681e Add support for NVidia Jetson Nano (#300)
* Added support for NVidia Jeston Nano

* Added support for NVidia Jetson Nano
2019-07-16 09:35:41 -07:00
Ben Greear
ba6fa69560 Openwrt and new compiler related fixes (#285)
* rtw-ap: Fix compiler warning.

Signed-off-by: Ben Greear <greearb@candelatech.com>

* makefile:  Add entry for compiling against openwrt tree.

Users would need to edit it to match their path, but
this should get them started.

Signed-off-by: Ben Greear <greearb@candelatech.com>

* makefile:  Allow defining KSRC outside of build.

So, you can do this:

KSRC=/tmp/my/kernel make

And not have to edit the makefile to have this function as desired.

Signed-off-by: Ben Greear <greearb@candelatech.com>

* Fix stack-too-large warning on x86-64 compile

Signed-off-by: Ben Greear <greearb@candelatech.com>

* compile:  Allow cross-compiling on cmd-line w/out editing Makefile

For instance:

KSRC=/home/greearb/git/openwrt-neo2-dev/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/linux-4.14.78 \
 EXT_EXTRA_CFLAGS=-DCONFIG_LITTLE_ENDIAN ARCH=arm64 CROSS_COMPILE=aarch64-openwrt-linux- MODDESTDIR=/tmp make V=1

Signed-off-by: Ben Greear <greearb@candelatech.com>

* build:  Attempt to auto-detect endian-ness.

Will make building in openwrt much easier.

Signed-off-by: Ben Greear <greearb@candelatech.com>

* Fix build against openwrt backports tree.

Like breaks builds elsewhere, can fix it up later.

Signed-off-by: Ben Greear <greearb@candelatech.com>

* Register wiphy after we probe MAC addr.

This way the phy object has a valid MAC-addr, which can be helpful
for identification.

Signed-off-by: Ben Greear <greearb@candelatech.com>

* Make sure MAC is set in wiphy_preinit

This is needed to make sure the phy registers with a proper MAC
address instead of all 00

Signed-off-by: Ben Greear <greearb@candelatech.com>

* Fix build on 4.19 kernel.

Signed-off-by: Ben Greear <greearb@candelatech.com>

* Fix compile against 4.20 kernel.

Remove some variable-length arrays (which could be security bugs,
ways to overflow the stack it seems), and remove use of
get_monotonic_boottime.

Signed-off-by: Ben Greear <greearb@candelatech.com>

* Support arm64
2019-03-08 09:22:32 -08:00
Timothy Pearson
fde0b7e42d Fix build on POWER systems (#260)
Tested on a POWER9 Talos II machine
2018-08-26 17:19:26 -07:00
Chen Minqiang
ed2b8009bd disable CONFIG_CONCURRENT_MODE by default 2017-07-28 11:02:32 +08:00
Chen Minqiang
2c6399ff11 Fix build regression && fix build compat bugs (#217)
1. Fix build regression os_dep/linux/ioctl_cfg80211.c:3654:12: error: ‘struct net_device’ has no member named ‘destructor’; did you mean ‘priv_destructor’?
  mon_ndev->destructor = rtw_ndev_destructor;
2. Fix build compat with kernel >= 4.12.0
3. Fix various errors in ioctl_cfg80211.c
2017-07-09 14:19:52 -07:00
Guy Taylor
276dcb9626 Make it easier to enable debug logging
Add CONFIG_DEBUG, CONFIG_DEBUG_CFG80211 and CONFIG_DEBUG_RTL871X options
to the Makefile.
2017-01-27 11:36:18 +13:00
Chen Minqiang
cf09446c0c commenting out CFLAGS_EXTRA=-Wextra 2016-11-18 01:01:55 +08:00
Chen Minqiang
1762158230 Use ?= instead of := so that a different kernel version specified 2016-10-17 02:22:57 +08:00
Chen Minqiang
04d34426dc fix error when building with dkms 2016-10-17 01:43:37 +08:00
Chen Minqiang
f5f3cfa492 fix kernel build 2016-10-12 23:48:00 +08:00
Chen Minqiang
b92adfd524 simple standard make clean 2016-10-12 23:42:40 +08:00
Chen Minqiang
00aedbde5c merge new version v4.3.14 from https://github.com/ptpt52/rtl8812au (#160) 2016-10-09 11:54:43 -07:00
Chen Minqiang
070e46b9cb the code is dirty, I am trying to do cleanup it. (#153)
* fix the frame size is larger than 1024 bytes

* fix unused-variable warnning

* fix unused-value warnning

* fix unused-label warnning

* fix unused-function warnning

* fix uninitialized: maybe bug

* disable CONFIG_DEBUG
2016-10-01 08:35:44 -07:00
Harshavardhana
f886c92b3a Revert "Makefile: fix in-tree builds"
This reverts commit 5f1739bdffd9dab3361e8c9813df8f68b4437a3b.
2016-04-01 09:08:13 -07:00
Mauro Ribeiro
5f1739bdff Makefile: fix in-tree builds
This needs to be correct in order to match what Kconfig says
2016-03-28 00:04:04 -03:00
Andrew Mann
aedcffa5f9 Add Raspberry Pi system build option 2015-06-01 14:30:22 +00:00
Harshavardhana
4b53eb7587 Cleanup makefile 2015-05-21 14:29:47 -07:00
Harshavardhana
12217798c3 date-time warning suppression is not needed fixes #44 2015-05-08 02:42:25 -07:00
Karl-Philipp Richter
5030184b5e changed simple -e bash test with md5sum validation of kernel .deb packages in vagrant compilation tests 2015-05-08 11:28:19 +02:00
Karl-Philipp Richter
c5a73124eb exposed KVER make option to command line and added vagrant tests for Linux 4.0.1 to make check 2015-05-08 01:38:23 +02:00
bits3rpent
8c2a02dcf4 This seems to fix building when DBG = 1 2015-04-30 22:07:01 -04:00
bits3rpent
c588d714a7 Turned power save to off.. thought I did this 2015-04-22 15:33:51 -04:00
Anand Babu (AB) Periasamy
f1008f6d87 disable debugging by default 2013-09-04 19:58:27 -07:00
Anand Babu (AB) Periasamy
6b9092c4ad initial import of rtl8812AU_8821AU_linux_v4.2.2_7502.20130517 2013-09-04 13:48:15 -07:00