summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/makefile b/makefile
index 0f0cca80955..09ae6636549 100644
--- a/makefile
+++ b/makefile
@@ -140,6 +140,12 @@ endif
ifneq ($(filter %86,$(UNAME_P)),)
PLATFORM := x86
endif
+ifneq ($(filter alpha,$(UNAME_M)),)
+PLATFORM := alpha
+endif
+ifneq ($(filter alpha,$(UNAME_P)),)
+PLATFORM := alpha
+endif
ifneq ($(filter arm%,$(UNAME_M)),)
PLATFORM := arm
endif
@@ -155,6 +161,11 @@ endif
ifneq ($(filter powerpc,$(UNAME_P)),)
PLATFORM := powerpc
endif
+ifneq ($(filter mips64%,$(UNAME_M)),)
+ifeq ($(shell getconf LONG_BIT),64)
+PLATFORM := mips64
+endif
+endif
ifeq ($(firstword $(filter Linux,$(UNAME))),Linux)
OS := linux
endif