Open sebastianpulido opened 2 years ago
diff UbuntuMakefile Makefile
102c102
< CONFIG_MP_VHT_HW_TX_MODE = n
CONFIG_MP_VHT_HW_TX_MODE = y
1216,1217c1216 < #EXTRA_CFLAGS += -mhard-float < EXTRA_CFLAGS += --warn-format EXTRA_CFLAGS += -mhard-float
1265,1266c1264 < #ARCH := $(R_ARCH) < ARCH := arm64 ARCH := $(R_ARCH)
2214c2212 < $(MAKE) ARCH=arm64 CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(shell pwd) modules $(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(shell pwd) modules
Hi, The MakeFile as it is doesnt really works with Ubuntu ARM (Ubuntu 20.04.2 LTS) / Apple M1 (Parallels). I have fixed it for this scenario. Just a few changes in few lines of code.
The MakeFile that now works on my Apple M1 machine can found at: https://github.com/sebastianpulido/rtl8821CU/blob/master/Makefile
Thanks, Seb.