aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0a5f86929..c756dfeaf 100644
--- a/Makefile
+++ b/Makefile
@@ -178,7 +178,7 @@ endif
178# SUBARCH is subsequently ignored. 178# SUBARCH is subsequently ignored.
179 179
180ifneq ($(CROSS_COMPILE),) 180ifneq ($(CROSS_COMPILE),)
181SUBARCH := $(shell echo $(CROSS_COMPILE) | cut -d- -f1) 181SUBARCH := $(shell echo $(CROSS_COMPILE) | cut -d- -f1 | sed 's:^.*/::g')
182else 182else
183SUBARCH := $(shell uname -m) 183SUBARCH := $(shell uname -m)
184endif 184endif