Updated Makefile to support armv7l

Compiling on an armv7l was broken due to SUBARCH not matching the architecture.
This commit is contained in:
Attila Sukosd 2013-12-25 01:38:34 +01:00
parent b093e6ca86
commit 3291571570

View file

@ -92,7 +92,7 @@ ifeq ($(CONFIG_WOWLAN), y)
EXTRA_CFLAGS += -DCONFIG_WOWLAN EXTRA_CFLAGS += -DCONFIG_WOWLAN
endif endif
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ | sed -e s/ppc/powerpc/ | sed -e s/armv6l/arm/) SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ | sed -e s/ppc/powerpc/ | sed -e s/armv.l/arm/)
ARCH ?= $(SUBARCH) ARCH ?= $(SUBARCH)
CROSS_COMPILE ?= CROSS_COMPILE ?=