mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-22 04:23:39 +00:00
Add subarch modifier for ARM64
Kernel is compiled as 'aarch64', but the kernel arch directory is 'arm64'. The multiple calls to sed for modifying the output of 'uname -m' is now consolidated into a single call with multiple commands.
This commit is contained in:
parent
1f08a062ad
commit
adc78c4474
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -93,7 +93,7 @@ ifeq ($(CONFIG_WOWLAN), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_WOWLAN
|
EXTRA_CFLAGS += -DCONFIG_WOWLAN
|
||||||
endif
|
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/; s/ppc/powerpc/; s/armv.l/arm/; s/aarch64/arm64/;")
|
||||||
|
|
||||||
ARCH ?= $(SUBARCH)
|
ARCH ?= $(SUBARCH)
|
||||||
CROSS_COMPILE ?=
|
CROSS_COMPILE ?=
|
||||||
|
|
Loading…
Reference in a new issue