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
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
#
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
GCC_VERSION = 5.2.0
GLIBC_VERSION = 2.22
-ABI = aapcs-linux
-MODE = arm
-FLOAT = hard
-
# Make jobs
MJ=-j2