aboutsummaryrefslogtreecommitdiffstats
path: root/tools/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'tools/scripts')
-rw-r--r--tools/scripts/Makefile.arch11
1 files changed, 1 insertions, 10 deletions
diff --git a/tools/scripts/Makefile.arch b/tools/scripts/Makefile.arch
index 78d90a249e88..b10b7a27c33f 100644
--- a/tools/scripts/Makefile.arch
+++ b/tools/scripts/Makefile.arch
@@ -4,8 +4,7 @@ HOSTARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ \
4 -e /arm64/!s/arm.*/arm/ -e s/sa110/arm/ \ 4 -e /arm64/!s/arm.*/arm/ -e s/sa110/arm/ \
5 -e s/s390x/s390/ -e s/parisc64/parisc/ \ 5 -e s/s390x/s390/ -e s/parisc64/parisc/ \
6 -e s/ppc.*/powerpc/ -e s/mips.*/mips/ \ 6 -e s/ppc.*/powerpc/ -e s/mips.*/mips/ \
7 -e s/sh[234].*/sh/ -e s/aarch64.*/arm64/ \ 7 -e s/sh[234].*/sh/ -e s/aarch64.*/arm64/ )
8 -e s/tile.*/tile/ )
9 8
10ifndef ARCH 9ifndef ARCH
11ARCH := $(HOSTARCH) 10ARCH := $(HOSTARCH)
@@ -34,14 +33,6 @@ ifeq ($(ARCH),sh64)
34 SRCARCH := sh 33 SRCARCH := sh
35endif 34endif
36 35
37# Additional ARCH settings for tile
38ifeq ($(ARCH),tilepro)
39 SRCARCH := tile
40endif
41ifeq ($(ARCH),tilegx)
42 SRCARCH := tile
43endif
44
45LP64 := $(shell echo __LP64__ | ${CC} ${CFLAGS} -E -x c - | tail -n 1) 36LP64 := $(shell echo __LP64__ | ${CC} ${CFLAGS} -E -x c - | tail -n 1)
46ifeq ($(LP64), 1) 37ifeq ($(LP64), 1)
47 IS_64_BIT := 1 38 IS_64_BIT := 1