summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/classes/xilinx-microblaze.bbclass
diff options
context:
space:
mode:
authorSandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>2023-11-30 22:07:47 -0700
committerMark Hatle <mark.hatle@amd.com>2023-12-08 11:30:55 -0600
commit9b391bbaf9ed0b83a493f20e48594a1c1e3004ce (patch)
treed03c7dacabb3b02841fb9845495589ab5ea69443 /meta-xilinx-core/classes/xilinx-microblaze.bbclass
parent9461f910a0b4415941d2bbac4406b37236d0a6de (diff)
downloadmeta-xilinx-9b391bbaf9ed0b83a493f20e48594a1c1e3004ce.tar.gz
classes: Move classes to match bbclass scope functionality
Move classes to classes-global or classes-recipe as appropriate to match bbclass scope functionality. Below is the list. classes-recipe: (inherited by recipes) amd_spi_image.bbclass dfx_user_dts.bbclass image-wic-utils.bbclass kernel-simpleimage.bbclass qemuboot-xilinx.bbclass xilinx-fetch-restricted.bbclass xilinx-platform-init.bbclass classes-global: (inherited globally) xilinx-microblaze.bbclass classes: (usage context is not clearly defined) gen-machine-conf.bbclass image-types-xilinx-qemu.bbclass xilinx-testimage.bbclass xilinx-vars.bbclass xilinx-deprecated.bbclass Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core/classes/xilinx-microblaze.bbclass')
-rw-r--r--meta-xilinx-core/classes/xilinx-microblaze.bbclass11
1 files changed, 0 insertions, 11 deletions
diff --git a/meta-xilinx-core/classes/xilinx-microblaze.bbclass b/meta-xilinx-core/classes/xilinx-microblaze.bbclass
deleted file mode 100644
index ed231a3a..00000000
--- a/meta-xilinx-core/classes/xilinx-microblaze.bbclass
+++ /dev/null
@@ -1,11 +0,0 @@
1# Class to add a deprecated warning from various configuration files.
2
3# Immediately after the ConfigParsed event handler, warn the user of any
4# deprecated files the user has used.
5addhandler xilinx_microblaze_config_eventhandler
6xilinx_microblaze_config_eventhandler[eventmask] = "bb.event.ConfigParsed"
7python xilinx_microblaze_config_eventhandler () {
8 if d.getVar('DEFAULTTUNE').startswith('microblaze'):
9 if 'xilinx-microblaze' not in d.getVar('BBFILE_COLLECTIONS').split():
10 bb.fatal('You must include the meta-microblaze layer to build for this configuration.')
11}