From adc78c4474c62729a4cad44d7541085598ab8a8e Mon Sep 17 00:00:00 2001 From: Anthony Cornehl Date: Fri, 2 Feb 2018 15:19:35 -0800 Subject: [PATCH] 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7192001..adef222 100644 --- a/Makefile +++ b/Makefile @@ -93,7 +93,7 @@ ifeq ($(CONFIG_WOWLAN), y) EXTRA_CFLAGS += -DCONFIG_WOWLAN 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) CROSS_COMPILE ?=