Message ID | 20220623074429.259889-1-luca.ceresoli@bootlin.com |
---|---|
State | Accepted, archived |
Commit | 78b6a08db4e8eb3b4e1d52fcdb39a5b3415f5a3f |
Headers | show |
Series | [v2] llvm: add PACKAGECONFIG[optviewer] | expand |
diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index 67ed1eab00fe..2ec5c1e1c0a3 100644 --- a/meta/recipes-devtools/llvm/llvm_git.bb +++ b/meta/recipes-devtools/llvm/llvm_git.bb @@ -56,6 +56,10 @@ def get_llvm_arch(bb, d, arch_var): def get_llvm_host_arch(bb, d): return get_llvm_arch(bb, d, 'HOST_ARCH') +PACKAGECONFIG ??= "" +# if optviewer OFF, force the modules to be not found or the ones on the host would be found +PACKAGECONFIG[optviewer] = ",-DPY_PYGMENTS_FOUND=OFF -DPY_PYGMENTS_LEXERS_C_CPP_FOUND=OFF -DPY_YAML_FOUND=OFF,python3-pygments python3-pyyaml,python3-pygments python3-pyyaml" + # # Default to build all OE-Core supported target arches (user overridable). #