aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3b962a1..68d4dc7 100644
--- a/Makefile
+++ b/Makefile
@@ -9,11 +9,11 @@ ARCH = $(shell uname -m)
ifdef CROSS_COMPILE
CROSS ?= $(CROSS_COMPILE)
endif
-ifeq ("$(ARCH)", "ppc64")
- CROSS ?=
-else
+ifneq ("$(ARCH)", "ppc64")
+ifneq ("$(ARCH)", "ppc64le")
CROSS ?= powerpc64-linux-
endif
+endif
#
# Main debug switch