diff options
author | Mark Hatle <mark.hatle@amd.com> | 2024-05-16 11:39:42 -0600 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2024-11-21 10:43:42 -0600 |
commit | e30d175de17da8b0b2c165c8ff87f3d8bd4c21f8 (patch) | |
tree | 4ac63b3e30b97ea5bc901770936d4cde7e18e380 | |
parent | 1e022d42fc43c486fb65bcc5a9c167d83fc00b2c (diff) | |
download | meta-xilinx-e30d175de17da8b0b2c165c8ff87f3d8bd4c21f8.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>
-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 a299fc9c..7d0a2e5d 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" |