CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
New toolchain support aarch64
authorVictor Martinez <pitillo@ono.com>
Sun, 4 Oct 2015 15:29:13 +0000 (15:29 +0000)
committerVictor Martinez <pitillo@ono.com>
Sun, 4 Oct 2015 15:29:13 +0000 (15:29 +0000)
Makefile
vars.mk

index 14046d497e4a3de868e499452aaeedbed81bcd40..25f80635f766ba5f4bfb3aed5bc77c53544e1d6f 100644 (file)
--- 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 b32384e11131fbcc6b6d7e11ce971a869f6f1637..629fe0466716d227f731913e3e020bec1af9db79 100644 (file)
--- 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