diff options
| author | rbramand <rahul.bramandlapalli@xilinx.com> | 2022-10-17 14:01:21 +0530 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2022-10-22 10:27:50 -0500 |
| commit | d99cc4d8fec51eab5e60acd0b713987f732b42be (patch) | |
| tree | ef5bc0caed095009b59a6b05d615167e5d3aa05c | |
| parent | 20e4b7cdc1bb6ad882869f4dfea96b643a1b43bb (diff) | |
| download | meta-xilinx-d99cc4d8fec51eab5e60acd0b713987f732b42be.tar.gz | |
Add AIE support for 'versal-ai-edge' family of devices
Signed-off-by: rbramand <rbramand@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
(cherry picked from commit 24761df81446f98e56291c9a3b8ad3b3939d7bb7)
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| -rw-r--r-- | meta-xilinx-core/recipes-xrt/xrt/xrt_git.bb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-xrt/xrt/xrt_git.bb b/meta-xilinx-core/recipes-xrt/xrt/xrt_git.bb index d4157d16..4d268c2e 100644 --- a/meta-xilinx-core/recipes-xrt/xrt/xrt_git.bb +++ b/meta-xilinx-core/recipes-xrt/xrt/xrt_git.bb | |||
| @@ -28,11 +28,21 @@ EXTRA_OECMAKE += " \ | |||
| 28 | -DCMAKE_BUILD_TYPE=Release \ | 28 | -DCMAKE_BUILD_TYPE=Release \ |
| 29 | -DCMAKE_EXPORT_COMPILE_COMANDS=ON \ | 29 | -DCMAKE_EXPORT_COMPILE_COMANDS=ON \ |
| 30 | " | 30 | " |
| 31 | |||
| 32 | # For vck190 kind of devices | ||
| 31 | PACKAGE_ARCH:versal-ai-core = "${SOC_VARIANT_ARCH}" | 33 | PACKAGE_ARCH:versal-ai-core = "${SOC_VARIANT_ARCH}" |
| 32 | EXTRA_OECMAKE:append:versal-ai-core = " -DXRT_AIE_BUILD=true" | 34 | EXTRA_OECMAKE:append:versal-ai-core = " -DXRT_AIE_BUILD=true" |
| 33 | TARGET_CXXFLAGS:append:versal-ai-core = " -DXRT_ENABLE_AIE" | 35 | TARGET_CXXFLAGS:append:versal-ai-core = " -DXRT_ENABLE_AIE" |
| 34 | DEPENDS:append:versal-ai-core = " libmetal-xlnx libxaiengine aiefal" | 36 | DEPENDS:append:versal-ai-core = " libmetal-xlnx libxaiengine aiefal" |
| 35 | RDEPENDS:${PN}:append:versal-ai-core = " libxaiengine aiefal" | 37 | RDEPENDS:${PN}:append:versal-ai-core = " libxaiengine aiefal" |
| 38 | |||
| 39 | # For vek280 kind of devices | ||
| 40 | PACKAGE_ARCH:versal-ai-edge = "${SOC_VARIANT_ARCH}" | ||
| 41 | EXTRA_OECMAKE:append:versal-ai-edge = " -DXRT_AIE_BUILD=true" | ||
| 42 | TARGET_CXXFLAGS:append:versal-ai-edge = " -DXRT_ENABLE_AIE" | ||
| 43 | DEPENDS:append:versal-ai-edge = " libmetal libxaiengine aiefal" | ||
| 44 | RDEPENDS:${PN}:append:versal-ai-edge = " libxaiengine aiefal" | ||
| 45 | |||
| 36 | EXTRA_OECMAKE:append:versal = " -DXRT_LIBDFX=true" | 46 | EXTRA_OECMAKE:append:versal = " -DXRT_LIBDFX=true" |
| 37 | EXTRA_OECMAKE:append:zynqmp = " -DXRT_LIBDFX=true" | 47 | EXTRA_OECMAKE:append:zynqmp = " -DXRT_LIBDFX=true" |
| 38 | DEPENDS:append:versal = " libdfx" | 48 | DEPENDS:append:versal = " libdfx" |
