|
@@ -47,6 +47,10 @@ STRIP_FLAGS ?= -x -R .note -R .comment
|
|
# Select the compiler needed to build binaries for your development system
|
|
# Select the compiler needed to build binaries for your development system
|
|
HOSTCC = gcc
|
|
HOSTCC = gcc
|
|
BUILD_CFLAGS = -O2 -Wall
|
|
BUILD_CFLAGS = -O2 -Wall
|
|
|
|
+export ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \
|
|
|
|
+ -e s/arm.*/arm/ -e s/sa110/arm/ \
|
|
|
|
+ -e s/s390x/s390/ -e s/parisc64/parisc/ \
|
|
|
|
+ -e s/ppc.*/powerpc/ -e s/mips.*/mips/ )
|
|
|
|
|
|
|
|
|
|
#---------------------------------------------------------
|
|
#---------------------------------------------------------
|