summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohd Saquib Siraj <mohdsaquib.siraj@amd.com>2024-03-03 02:57:01 +0530
committerMark Hatle <mark.hatle@amd.com>2024-03-05 09:52:36 -0600
commit8aa1b2eca8419cf4216a19a2242fb91e45162dad (patch)
tree4972e2c599173afd89eb4d8b33e473870e504d7c
parenta7390cd949ffcc30b10a712961a56197e3056fd4 (diff)
downloadmeta-xilinx-8aa1b2eca8419cf4216a19a2242fb91e45162dad.tar.gz
xilnvm_2024.1.bb: Added API's to support server client mode
Added packageconfig API's to support server client mode and build examples accordingly Signed-off-by: Mohd Saquib Siraj <mohdsaquib.siraj@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/xilnvm_2024.1.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm_2024.1.bb
index bed2c78e..8aa1250d 100644
--- a/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm_2024.1.bb
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm_2024.1.bb
@@ -3,4 +3,8 @@ inherit esw
3ESW_COMPONENT_SRC = "/lib/sw_services/xilnvm/src/" 3ESW_COMPONENT_SRC = "/lib/sw_services/xilnvm/src/"
4ESW_COMPONENT_NAME = "libxilnvm.a" 4ESW_COMPONENT_NAME = "libxilnvm.a"
5 5
6PACKAGECONFIG ??= "client server"
7PACKAGECONFIG[client] ="-DXILNVM_mode="client",,"
8PACKAGECONFIG[server] ="-DXILNVM_mode="server",,"
9
6DEPENDS += "libxil xiltimer ${@'xilplmi' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' else 'xilmailbox'}" 10DEPENDS += "libxil xiltimer ${@'xilplmi' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' else 'xilmailbox'}"