From 2332efea1d009ad24fb7dc4f37d1802e6222455c Mon Sep 17 00:00:00 2001 From: Mohd Saquib Siraj Date: Sun, 3 Mar 2024 02:56:58 +0530 Subject: xilpuf-example_2024.1.bb: Added server client support and Updated the dependencies Added packageconfig API's to support server client support and updated the dependency Signed-off-by: Mohd Saquib Siraj Signed-off-by: Mark Hatle --- .../recipes-libraries/xilpuf-example_2024.1.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf-example_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf-example_2024.1.bb index 13b0b5d6..bbe2920b 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf-example_2024.1.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf-example_2024.1.bb @@ -2,7 +2,11 @@ inherit esw deploy ESW_COMPONENT_SRC = "/lib/sw_services/xilpuf/examples/" -DEPENDS += "xilpuf xilsecure xilmailbox xilnvm" +PACKAGECONFIG ??= "client server" +PACKAGECONFIG[client] ="-DXILPUF_Mode="client",," +PACKAGECONFIG[server] ="-DXILPUF_Mode="server",," + +DEPENDS += "xilpuf xilsecure xilmailbox xilnvm xilplmi" do_configure:prepend() { ( -- cgit v1.2.3-54-g00ecf