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 --- .../classes/kernel-simpleimage.bbclass | 35 ---------------------- 1 file changed, 35 deletions(-) delete mode 100644 meta-xilinx/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass (limited to 'meta-xilinx/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass') diff --git a/meta-xilinx/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass b/meta-xilinx/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass deleted file mode 100644 index 6da28f36f..000000000 --- a/meta-xilinx/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass +++ /dev/null @@ -1,35 +0,0 @@ -python __anonymous () { - kerneltypes = set((d.getVar("KERNEL_IMAGETYPE") or "").split()) - kerneltypes |= set((d.getVar("KERNEL_IMAGETYPES") or "").split()) - if any(t.startswith("simpleImage.") for t in kerneltypes): - # Enable building of simpleImage - bb.build.addtask('do_prep_simpleimage', 'do_compile', 'do_configure', d) - uarch = d.getVar("UBOOT_ARCH") - if uarch == "microblaze": - d.appendVarFlag('do_prep_simpleimage', 'depends', ' virtual/dtb:do_populate_sysroot') -} - -do_prep_simpleimage[dirs] += "${B}" -do_prep_simpleimage () { - install -d ${B}/arch/${ARCH}/boot/dts - for type in ${KERNEL_IMAGETYPES} ; do - if [ -z "${type##*simpleImage*}" ] && [ ${ARCH} = "microblaze" ]; then - ext="${type##*.}" - # Microblaze simpleImage only works with dts file - cp ${RECIPE_SYSROOT}/boot/devicetree/${ext}.dts ${B}/arch/${ARCH}/boot/dts/ - fi - done -} - -do_deploy_append () { - for type in ${KERNEL_IMAGETYPES} ; do - if [ -z "${type##*simpleImage*}" ] && [ ${ARCH} = "microblaze" ]; then - base_name=${imageType}-${KERNEL_IMAGE_NAME} - install -m 0644 ${KERNEL_OUTPUT_DIR}/${type}.strip $deployDir/${base_name}.strip - install -m 0644 ${KERNEL_OUTPUT_DIR}/${type}.unstrip $deployDir/${base_name}.unstrip - symlink_name=${imageType}-${KERNEL_IMAGE_LINK_NAME} - ln -sf ${base_name}.strip $deployDir/${symlink_name}.strip - ln -sf ${base_name}.unstrip $deployDir/${symlink_name}.unstrip - fi - done -} -- cgit v1.2.3