commit | e9d3135e28578f0de54c69ddd762eb79161244b2 | [log] [tgz] |
---|---|---|
author | Hao Jiang <jianghao@google.com> | Tue Apr 09 20:19:05 2024 +0000 |
committer | Hao Jiang <jianghao@google.com> | Thu Apr 11 17:25:31 2024 +0000 |
tree | 748a45e89d74050117ef7afa542b76c8b4e46a17 | |
parent | 7a6425f0a73a637aeea8996ba51da8f9a8adc687 [diff] |
gbmcweb: update option for google common plugin disable the `google_internal` option for vendor build and enable it for gbmc build. Also add the corresponding depends for gbmc build. Google-Bug-Id: N/A Fusion-Link: https://fusion2.corp.google.com/0647d06c-0f37-35f1-82e3-0c91af9735da Tested: N/A Change-Id: I3a9880de4cb33b20ee2e599dd0aebd57a6573808 Signed-off-by: Hao Jiang <jianghao@google.com>
diff --git a/recipes-phosphor/interfaces/gbmcweb-google-common-plugins_git.bb b/recipes-phosphor/interfaces/gbmcweb-google-common-plugins_git.bb index 92dabba..df96c2f 100644 --- a/recipes-phosphor/interfaces/gbmcweb-google-common-plugins_git.bb +++ b/recipes-phosphor/interfaces/gbmcweb-google-common-plugins_git.bb
@@ -12,3 +12,17 @@ S = "${WORKDIR}/git" DEPENDS = "gbmcweb-headers redfish-events nlohmann-json boost sdbusplus openssl" + +DEPENDS:append:gbmc = " libnvme-vu " + +EXTRA_OEMESON:append = " \ + -Dgoogle_internal=false \ +" + +EXTRA_OEMESON:remove:gbmc = " \ + -Dgoogle_internal=false \ +" + +EXTRA_OEMESON:append:gbmc = " \ + -Dgoogle_internal=true \ +"