diff options
author | Jaewon Lee <jaewon.lee@xilinx.com> | 2020-08-27 09:06:53 -0700 |
---|---|---|
committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2020-09-08 11:13:22 -0700 |
commit | bc83c9b61ab408d794ea8a2de2bbe1beadf02220 (patch) | |
tree | 308ef091e13e5aeb82447dabdd51119314e5216e | |
parent | 2de6eea0355a5b9e1a4e3313a1d30f2be2126011 (diff) | |
download | meta-xilinx-bc83c9b61ab408d794ea8a2de2bbe1beadf02220.tar.gz |
xrt_git.bb: Using variant specific override for ai-core usage
Only the xrt build for the ai-core variant of versal will need to link
against ai libraries. Using SOC_VARIANT specific overrides to set
PACKAGE_ARCH, and other build flags
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
-rw-r--r-- | meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb b/meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb index 2745bb69..71725d0b 100644 --- a/meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb +++ b/meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb | |||
@@ -32,11 +32,11 @@ EXTRA_OECMAKE += " \ | |||
32 | -DCMAKE_EXPORT_COMPILE_COMANDS=ON \ | 32 | -DCMAKE_EXPORT_COMPILE_COMANDS=ON \ |
33 | " | 33 | " |
34 | 34 | ||
35 | PACKAGE_ARCH_versal = "${SOC_FAMILY_ARCH}" | 35 | PACKAGE_ARCH_versal-ai-core = "${SOC_VARIANT_ARCH}" |
36 | EXTRA_OECMAKE_append_versal += "-DXRT_AIE_BUILD=true" | 36 | EXTRA_OECMAKE_append_versal-ai-core += "-DXRT_AIE_BUILD=true" |
37 | TARGET_CXXFLAGS_append_versal += "-DXRT_ENABLE_AIE" | 37 | TARGET_CXXFLAGS_append_versal-ai-core += "-DXRT_ENABLE_AIE" |
38 | DEPENDS_append_versal += " libmetal libxaiengine" | 38 | DEPENDS_append_versal-ai-core += " libmetal libxaiengine" |
39 | RDEPENDS_${PN}_append_versal += " libxaiengine" | 39 | RDEPENDS_${PN}_append_versal-ai-core += " libxaiengine" |
40 | 40 | ||
41 | pkg_postinst_ontarget_${PN}() { | 41 | pkg_postinst_ontarget_${PN}() { |
42 | #!/bin/sh | 42 | #!/bin/sh |