From 211d29c0e11205c935e2481ee40a4d7a1b1ca314 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Thu, 5 May 2022 14:05:19 +0200 Subject: [PATCH] new yocto 4.0 arch for Zynq --- configure/os/CONFIG.Common.yocto40-aarch64 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 configure/os/CONFIG.Common.yocto40-aarch64 diff --git a/configure/os/CONFIG.Common.yocto40-aarch64 b/configure/os/CONFIG.Common.yocto40-aarch64 new file mode 100644 index 000000000..a57614d39 --- /dev/null +++ b/configure/os/CONFIG.Common.yocto40-aarch64 @@ -0,0 +1,20 @@ +# XILINX Zynq with Yocto 4.0 toolchain + +# Include definitions common to all Linux targets +include $(CONFIG)/os/CONFIG.Common.linuxCommon + +ARCH_CLASS = arm64 + +SDK = pokysdk +SDK_DIR = /opt/yocto40-aarch64 +SDK_HOST_ARCH = $(GNU_HOST_ARCH_64)-$(SDK)-$(GNU_HOST_OS) +SDK_TARGET = cortexa53-poky-linux +GNU_TARGET = aarch64-poky-linux +SDKTARGETSYSROOT = $(SDK_DIR)/sysroots/$(SDK_TARGET) +GNU_DIR = $(SDK_DIR)/sysroots/$(SDK_HOST_ARCH)/usr +GNU_BIN = $(GNU_DIR)/bin/$(GNU_TARGET) + +ARCH_DEP_CPPFLAGS = --sysroot=$(SDKTARGETSYSROOT) -mcpu=cortex-a53 -march=armv8-a+crc +ARCH_DEP_LDFLAGS = --sysroot=$(SDKTARGETSYSROOT) + +STD_CXXFLAGS = -std=c++20