pvaret / rtl8192cu-fixes

Realtek 8192 chipset driver, ported to kernel 3.11.
800 stars 208 forks source link

add this to Makefile for PowerPc #172

Open vareille opened 3 years ago

vareille commented 3 years ago

to compile on a powerpc G3 or G4, add this to the Makefile. first add a line to specify the cpu you are targeting:

CONFIG_PLATFORM_PPC = y

you'll need also to deselect the currently selected platform:

CONFIG_PLATFORM_I386_PC = n

further in the file add the things to do for the powerpc platform:

ifeq ($(CONFIG_PLATFORM_PPC), y) EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN SUBARCH := $(shell uname -m | sed -e s/ppc/powerpc/) ARCH ?= $(SUBARCH) CROSS_COMPILE ?= KVER ?= $(shell uname -r) KSRC ?= /lib/modules/$(KVER)/build MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/ INSTALL_PREFIX := endif

(I am using wicd instead of network manager and for me it doesn't work with wext but with nl80211)