diff options
| author | Mohd Saquib Siraj <mohdsaquib.siraj@amd.com> | 2024-03-03 02:57:01 +0530 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2024-03-05 09:52:36 -0600 |
| commit | 8aa1b2eca8419cf4216a19a2242fb91e45162dad (patch) | |
| tree | 4972e2c599173afd89eb4d8b33e473870e504d7c | |
| parent | a7390cd949ffcc30b10a712961a56197e3056fd4 (diff) | |
| download | meta-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.bb | 4 |
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 | |||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilnvm/src/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilnvm/src/" |
| 4 | ESW_COMPONENT_NAME = "libxilnvm.a" | 4 | ESW_COMPONENT_NAME = "libxilnvm.a" |
| 5 | 5 | ||
| 6 | PACKAGECONFIG ??= "client server" | ||
| 7 | PACKAGECONFIG[client] ="-DXILNVM_mode="client",," | ||
| 8 | PACKAGECONFIG[server] ="-DXILNVM_mode="server",," | ||
| 9 | |||
| 6 | DEPENDS += "libxil xiltimer ${@'xilplmi' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' else 'xilmailbox'}" | 10 | DEPENDS += "libxil xiltimer ${@'xilplmi' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' else 'xilmailbox'}" |
