From b6d590af3f28f1737ff681ed0ed94d812878962c Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Tue, 26 Oct 2021 06:47:53 -0500 Subject: meta-xilinx: remove subtree The meta-xilinx layer was used for a now-deleted EVB. Neither the EVB nor the meta-xilinx layer have been updated for the Yocto override syntax change and the meta-xilinx still doesn't have a hardknott or honister branch (or corresponding support). I've asked the Xilinx maintainer back in May on when a hardknott version would be supported and I was told "about a month from now". I followed up in August and was told "work is in progress". As of today there are still zero commits in meta-xilinx since January 2021. As such, I do not believe this layer is well-maintained and we have no specific use for it anymore. Remove it until someone finds a good reason to include it and the upstream shows signs of life. Signed-off-by: Patrick Williams Change-Id: Id14ea55db2ac2779edf42e63cb57ad7d25172ad5 --- .../meta-xilinx-standalone/classes/esw.bbclass | 106 --------------------- .../classes/esw_examples.bbclass | 27 ------ 2 files changed, 133 deletions(-) delete mode 100644 meta-xilinx/meta-xilinx-standalone/classes/esw.bbclass delete mode 100644 meta-xilinx/meta-xilinx-standalone/classes/esw_examples.bbclass (limited to 'meta-xilinx/meta-xilinx-standalone/classes') diff --git a/meta-xilinx/meta-xilinx-standalone/classes/esw.bbclass b/meta-xilinx/meta-xilinx-standalone/classes/esw.bbclass deleted file mode 100644 index 1f7e35f42..000000000 --- a/meta-xilinx/meta-xilinx-standalone/classes/esw.bbclass +++ /dev/null @@ -1,106 +0,0 @@ -inherit pkgconfig cmake - -LICENSE = "Proprietary" -LICFILENAME = "license.txt" -LIC_FILES_CHKSUM = "file://${S}/${LICFILENAME};md5=39ab6ab638f4d1836ba994ec6852de94" - -# We should move to an actual SRCREV eventually -include conf/xilinx/esw-srcrev.inc - -SRCREV ?= "${AUTOREV}" -PV = "${XILINX_RELEASE_VERSION}+git${SRCPV}" -REPO ?= "git://github.com/xilinx/embeddedsw.git;protocol=https" -BRANCH ?= "master" -SRC_URI = "${REPO};branch=${BRANCH}" - -SRCREV_FORMAT = "src_decouple" - -S = "${WORKDIR}/git" -B = "${WORKDIR}/build" -OECMAKE_SOURCEPATH = "${S}/${ESW_COMPONENT_SRC}" - -SPECFILE_PATH_arm = "${S}/scripts/specs/arm/Xilinx.spec" -SPECFILE_PATH_aarch64 = "${S}/scripts/specs/arm/Xilinx.spec" -SPECFILE_PATH_microblaze = "${S}/scripts/specs/microblaze/Xilinx.spec" - -ESW_CFLAGS += "-specs=${SPECFILE_PATH}" - -inherit ccmake - -COMPATIBLE_HOST = ".*-elf" -COMPATIBLE_HOST_arm = "[^-]*-[^-]*-eabi" - -DTBFILE ?= "${RECIPE_SYSROOT}/boot/devicetree/system-top.dtb" - -def get_xlnx_cmake_machine(fam, d): - cmake_machine = fam - if (fam == 'zynqmp'): - cmake_machine = 'ZynqMP' - elif (fam == 'versal'): - cmake_machine = 'Versal' - elif (fam == 'zynq'): - cmake_machine = 'Zynq' - return cmake_machine - -def get_xlnx_cmake_processor(tune, machine, d): - cmake_processor = tune - if tune.startswith('microblaze'): - if (machine == 'microblaze-pmu'): - cmake_processor = 'pmu_microblaze' - elif (machine == 'microblaze-plm'): - cmake_processor = 'plm_microblaze' - else: - cmake_processor = 'microblaze' - elif (tune in [ 'cortexr5', 'cortexr5f' ]): - cmake_processor = 'cortexr5' - elif tune.startswith('cortexa9'): - cmake_processor = 'cortexa9' - elif (tune in [ 'cortexa53', 'cortexa72-cortexa53' ]): - cmake_processor = 'cortexa53' - elif tune == 'cortexa72': - cmake_processor = 'cortexa72' - return cmake_processor - -XLNX_CMAKE_MACHINE = "${@get_xlnx_cmake_machine(d.getVar('SOC_FAMILY'), d)}" -XLNX_CMAKE_PROCESSOR = "${@get_xlnx_cmake_processor(d.getVar('DEFAULTTUNE'), d.getVar('MACHINE'), d)}" -XLNX_CMAKE_SYSTEM_NAME ?= "Generic" - -cmake_do_generate_toolchain_file_append() { - cat >> ${WORKDIR}/toolchain.cmake <