mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-29 23:43:40 +00:00
rtl8188eu: Tweak Makefile for easier cross compilation
Make KVER assignment optional. If an environment variable KVER exists it is used 'as is'.
This commit is contained in:
parent
667ab7a45f
commit
233a5d2ca6
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -100,7 +100,7 @@ endif
|
||||||
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ | sed -e s/ppc/powerpc/ | sed -e s/armv.l/arm/)
|
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ | sed -e s/ppc/powerpc/ | sed -e s/armv.l/arm/)
|
||||||
ARCH ?= $(SUBARCH)
|
ARCH ?= $(SUBARCH)
|
||||||
CROSS_COMPILE ?=
|
CROSS_COMPILE ?=
|
||||||
KVER := $(shell uname -r)
|
KVER ?= $(shell uname -r)
|
||||||
KERNEL_SRC ?= /lib/modules/$(KVER)/build
|
KERNEL_SRC ?= /lib/modules/$(KVER)/build
|
||||||
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
|
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
|
||||||
INSTALL_PREFIX :=
|
INSTALL_PREFIX :=
|
||||||
|
|
Loading…
Reference in a new issue