summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2022-10-24 15:21:12 -0700
committerMark Hatle <mark.hatle@amd.com>2022-10-24 15:21:12 -0700
commit0c2d8891bace4861d237bf29877735a03919607d (patch)
treedfbba60a1d88704fa86ddadc08e6d0f54da0b20f
parentd99cc4d8fec51eab5e60acd0b713987f732b42be (diff)
downloadmeta-xilinx-0c2d8891bace4861d237bf29877735a03919607d.tar.gz
dfx-mgr: Workaround for various warnings that cause errors (-Wall)
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r--meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb
index 2232b1da..b4de4fe6 100644
--- a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb
+++ b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb
@@ -27,6 +27,13 @@ RDEPENDS:${PN} += " fru-print"
27EXTRA_OECMAKE += " \ 27EXTRA_OECMAKE += " \
28 -DCMAKE_SYSROOT:PATH=${RECIPE_SYSROOT} \ 28 -DCMAKE_SYSROOT:PATH=${RECIPE_SYSROOT} \
29 " 29 "
30
31# Workaround for: the comparison will always evaluate as 'true' for the address of 'defaul_accel_name' will never be NULL [-Werror=address]
32CFLAGS += "-Wno-address"
33
34# Workaround for: '__builtin_strncpy' specified bound depends on the length of the source argument [-Werror=stringop-truncation]
35CFLAGS += "-Wno-stringop-truncation"
36
30INITSCRIPT_NAME = "dfx-mgr.sh" 37INITSCRIPT_NAME = "dfx-mgr.sh"
31INITSCRIPT_PARAMS = "start 99 S ." 38INITSCRIPT_PARAMS = "start 99 S ."
32 39