From dd8d7188eea747c9fc7f11f48cd127ea8e7f273e Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 24 Nov 2014 06:33:13 +0000 Subject: aarch64: add initial support Add initial support for the AArch64 architecture Signed-off-by: Florian Fainelli SVN-Revision: 43353 --- include/target.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/target.mk') diff --git a/include/target.mk b/include/target.mk index 3401f849a5..17413f9ece 100644 --- a/include/target.mk +++ b/include/target.mk @@ -252,6 +252,10 @@ ifeq ($(DUMP),1) CPU_TYPE = sparc CPU_CFLAGS_ultrasparc = -mcpu=ultrasparc endif + ifeq ($(ARCH),aarch64) + CPU_TYPE ?= armv8-a + CPU_CFLAGS_armv8-a = -mcpu=armv8-a + endif DEFAULT_CFLAGS=$(strip $(CPU_CFLAGS) $(CPU_CFLAGS_$(CPU_TYPE)) $(CPU_CFLAGS_$(CPU_SUBTYPE))) endif -- cgit v1.2.3