From: Victor Martinez Date: Sun, 4 Oct 2015 15:29:13 +0000 (+0000) Subject: New toolchain support aarch64 X-Git-Url: http://gitweb/?a=commitdiff_plain;h=4b11c6c30fbd9aa2b0314d4eaac079fa78acc2cd;p=toolchain.git New toolchain support aarch64 --- diff --git a/Makefile b/Makefile index 14046d4..25f8063 100644 --- a/Makefile +++ b/Makefile @@ -26,8 +26,8 @@ $(CLFS)/usr/include/asm: $(WORK)/linux-$(KERNEL_HEADERS_VERSION) mkdir -p $(CLFS)/usr/include cd $(WORK)/linux-$(KERNEL_HEADERS_VERSION) && \ make mrproper && \ - make ARCH=arm headers_check && \ - make ARCH=arm INSTALL_HDR_PATH=$(CLFS)/usr headers_install + make ARCH=arm64 headers_check && \ + make ARCH=arm64 INSTALL_HDR_PATH=$(CLFS)/usr headers_install touch $(CLFS)/usr/include/asm linux-headers: $(CLFS)/usr/include/asm @@ -279,7 +279,6 @@ $(WORK)/test: $(WORK)/test.c unset CFLAGS && unset CXXFLAGS && unset CC && \ AR=ar LDFLAGS="-Wl,-rpath,$(CROSSTOOLS)/lib" \ $(TARGET)-gcc -Wall -o $(WORK)/test $(WORK)/test.c - [ "`file -b $(WORK)/test | cut -d',' -f2 | sed 's| ||g'`" = "ARM" ] || exit 1 touch $(WORK)/test test: gcc-final $(WORK)/test diff --git a/vars.mk b/vars.mk index b32384e..629fe04 100644 --- a/vars.mk +++ b/vars.mk @@ -3,7 +3,7 @@ # HOST = $(shell echo $$MACHTYPE | sed "s/$$(echo $$MACHTYPE | cut -d- -f2)/cross/") -TARGET = arm-crux-linux-gnueabihf +TARGET = aarch64-crux-linux-gnueabi TOPDIR = $(shell pwd) CLFS = $(TOPDIR)/clfs @@ -18,10 +18,6 @@ BINUTILS_VERSION = 2.25.1 GCC_VERSION = 5.2.0 GLIBC_VERSION = 2.22 -ABI = aapcs-linux -MODE = arm -FLOAT = hard - # Make jobs MJ=-j2