diff options
author | Mark Hatle <mark.hatle@amd.com> | 2024-05-16 11:39:42 -0600 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2024-06-12 15:20:41 -0600 |
commit | 79810fe1819c34bd58c918220fdaa8f21ab4ea62 (patch) | |
tree | bb88aa62c01d5c0eefed5130806183c668e37755 | |
parent | 62523c2bc42b6b0c5d795373e5110a5c07ed52d8 (diff) | |
download | meta-xilinx-79810fe1819c34bd58c918220fdaa8f21ab4ea62.tar.gz |
esw.bbclass: Cleanup
PV defaults to part of the FILE name
ESW_VER defaults to the same part of the FILE name
Both are intended to be overriden independently by the recipe, if necessary.
So remove the default value as it will already work as intended and avoid
future confusion.
Also cleanup the comment to explain why the remove is necessary.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
(cherry picked from commit 3102ec702783d49255d18aef3ce0b348150f9fe4)
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r-- | meta-xilinx-standalone-experimental/classes-recipe/esw.bbclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-xilinx-standalone-experimental/classes-recipe/esw.bbclass b/meta-xilinx-standalone-experimental/classes-recipe/esw.bbclass index b6f799b9..663d02a0 100644 --- a/meta-xilinx-standalone-experimental/classes-recipe/esw.bbclass +++ b/meta-xilinx-standalone-experimental/classes-recipe/esw.bbclass | |||
@@ -1,9 +1,9 @@ | |||
1 | PV = "${ESW_VER}" | ||
2 | |||
3 | inherit python3native xlnx-embeddedsw pkgconfig cmake | 1 | inherit python3native xlnx-embeddedsw pkgconfig cmake |
4 | 2 | ||
5 | # It is unclear why the following is needed, but without this cmake/ninja | 3 | # Poky always tries to enable EXPORT_COMPILE_COMMANDS, but ESW changes |
6 | # will generate: -isystem /usr/include which will cause a build failure. | 4 | # behavior when this is enabled and will generate: |
5 | # -isystem /usr/include | ||
6 | # which will cause a build failures. | ||
7 | OECMAKE_ARGS:remove = "-DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON" | 7 | OECMAKE_ARGS:remove = "-DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON" |
8 | 8 | ||
9 | SRCREV_FORMAT = "src_decouple" | 9 | SRCREV_FORMAT = "src_decouple" |