diff options
| author | Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> | 2023-11-16 10:03:13 -0700 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2023-11-22 12:07:57 -0600 |
| commit | b69184484313bc3a1806a7dbf2ee376dce145dd1 (patch) | |
| tree | 8d6b2d2491572b4ae805e52b4037a6c056144c21 | |
| parent | 67f3300d447c53e427d709867166d3f79ea198ee (diff) | |
| download | meta-xilinx-b69184484313bc3a1806a7dbf2ee376dce145dd1.tar.gz | |
classes: Deprecate fpgamanager_custom bbclass
Deprecate fpgamanager_custom.bbclass and this bbclass functionality
is available in new dfx_user_dts.bbclass and going forward user should
be using dfx_user_dts.bbclass.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| -rw-r--r-- | meta-xilinx-core/classes/fpgamanager_custom.bbclass | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/meta-xilinx-core/classes/fpgamanager_custom.bbclass b/meta-xilinx-core/classes/fpgamanager_custom.bbclass deleted file mode 100644 index 8c8997a1..00000000 --- a/meta-xilinx-core/classes/fpgamanager_custom.bbclass +++ /dev/null | |||
| @@ -1,24 +0,0 @@ | |||
| 1 | # This class inherits dfx_user_dts.bbclass for below use cases. | ||
| 2 | # Zynq-7000 and ZynqMP: Full bitstream loading. | ||
| 3 | # ZynqMP: DFx Static and Partial bitstream loading. | ||
| 4 | # Versal: DFx Static and Parial pdi loading. | ||
| 5 | # Versal: Full PDI loading. | ||
| 6 | |||
| 7 | inherit dfx_user_dts | ||
| 8 | |||
| 9 | python fpgamanager_warn_msg () { | ||
| 10 | if not d.getVar("FPGAMANAGER_NO_WARN"): | ||
| 11 | arch = d.getVar('SOC_FAMILY') | ||
| 12 | pn = d.getVar('PN') | ||
| 13 | warn_msg = 'Users should start using dfx_user_dts bbclass for ' | ||
| 14 | if arch == 'zynq': | ||
| 15 | warn_msg += 'Zynq-7000 Full bitstream loading use case.' | ||
| 16 | elif arch == 'zynqmp': | ||
| 17 | warn_msg += 'ZynqMP Full or DFx Static or DFx Partial bitstream loading use case.' | ||
| 18 | elif arch == 'versal': | ||
| 19 | warn_msg += 'Versal DFx Static or DFx Partial or Full PDI loading use case.' | ||
| 20 | |||
| 21 | bb.warn("Recipe %s has inherited fpgamanager_custom bbclass which will be deprecated in 2024.1 release. \n%s" % (pn, warn_msg)) | ||
| 22 | } | ||
| 23 | |||
| 24 | do_install[postfuncs] += "fpgamanager_warn_msg" \ No newline at end of file | ||
