diff options
Diffstat (limited to 'make.rules')
-rw-r--r-- | make.rules | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -16,7 +16,14 @@ # CROSS is the prefix of your cross-compiler. # You can override this variable in your environment (export CROSS=...). +ARCH := $(shell uname -p) + +# Auto-detect ppc64 +ifeq ($(ARCH), ppc64) +CROSS = "" +else CROSS ?= powerpc64-linux- +endif CELLSIZE ?= 64 |