mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-15 01:19:36 +00:00
rtl8188eu: Fix Makefile to work with powerpc as well as x86
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
14a16dd544
commit
e05a68ee1a
1 changed files with 1 additions and 2 deletions
3
Makefile
3
Makefile
|
@ -397,16 +397,15 @@ endif
|
||||||
|
|
||||||
EXTRA_CFLAGS += -DDM_ODM_SUPPORT_TYPE=0x04
|
EXTRA_CFLAGS += -DDM_ODM_SUPPORT_TYPE=0x04
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_I386_PC), y)
|
|
||||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||||
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
|
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
|
||||||
|
SUBARCH := $(shell uname -m | sed -e s/ppc/powerpc/)
|
||||||
ARCH ?= $(SUBARCH)
|
ARCH ?= $(SUBARCH)
|
||||||
CROSS_COMPILE ?=
|
CROSS_COMPILE ?=
|
||||||
KVER := $(shell uname -r)
|
KVER := $(shell uname -r)
|
||||||
KSRC := /lib/modules/$(KVER)/build
|
KSRC := /lib/modules/$(KVER)/build
|
||||||
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
|
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
|
||||||
INSTALL_PREFIX :=
|
INSTALL_PREFIX :=
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(CONFIG_MULTIDRV), y)
|
ifeq ($(CONFIG_MULTIDRV), y)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue