summaryrefslogtreecommitdiff
path: root/meta-xilinx/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2021-10-26 14:47:53 +0300
committerPatrick Williams <patrick@stwcx.xyz>2021-10-27 00:08:02 +0300
commitb6d590af3f28f1737ff681ed0ed94d812878962c (patch)
tree59cdd5c1003468ef563cd0b4d0426cf38d04f715 /meta-xilinx/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass
parent7bf39c061342ec43d4fe59d041858515a5afca92 (diff)
downloadopenbmc-b6d590af3f28f1737ff681ed0ed94d812878962c.tar.xz
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 <patrick@stwcx.xyz> Change-Id: Id14ea55db2ac2779edf42e63cb57ad7d25172ad5
Diffstat (limited to 'meta-xilinx/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass')
-rw-r--r--meta-xilinx/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass35
1 files changed, 0 insertions, 35 deletions
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
-}