diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2022-10-24 15:21:12 -0700 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2022-10-24 15:21:12 -0700 |
| commit | 0c2d8891bace4861d237bf29877735a03919607d (patch) | |
| tree | dfbba60a1d88704fa86ddadc08e6d0f54da0b20f | |
| parent | d99cc4d8fec51eab5e60acd0b713987f732b42be (diff) | |
| download | meta-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.bb | 7 |
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" | |||
| 27 | EXTRA_OECMAKE += " \ | 27 | EXTRA_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] | ||
| 32 | CFLAGS += "-Wno-address" | ||
| 33 | |||
| 34 | # Workaround for: '__builtin_strncpy' specified bound depends on the length of the source argument [-Werror=stringop-truncation] | ||
| 35 | CFLAGS += "-Wno-stringop-truncation" | ||
| 36 | |||
| 30 | INITSCRIPT_NAME = "dfx-mgr.sh" | 37 | INITSCRIPT_NAME = "dfx-mgr.sh" |
| 31 | INITSCRIPT_PARAMS = "start 99 S ." | 38 | INITSCRIPT_PARAMS = "start 99 S ." |
| 32 | 39 | ||
