diff options
author | Ed Tanous <edtanous@google.com> | 2021-06-16 22:44:37 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2023-06-22 22:55:16 +0300 |
commit | a994d3acc956247777270010c67a2936cf3fd597 (patch) | |
tree | 1b7141136328f167f841e018aaaa3f668f8d1a3a /meta-phosphor/recipes-phosphor/interfaces | |
parent | 8e62f73b7c4df73b1f72f1dec5caf18e8b3968bf (diff) | |
download | openbmc-a994d3acc956247777270010c67a2936cf3fd597.tar.xz |
add nghttp2 dependency on bmcweb
This commit is part of the review here:
https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/40978
It adds a compile time dependency on nghttp2, and adjusts some of the
build params for OpenBMC. Namely:
1. Building only a static library.
2. Enabling LTO.
3. Removing all features that we don't use (to reduce binary size)
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: Ifa9695c3c2313b4895d500a410307ef71ae1fad9
Diffstat (limited to 'meta-phosphor/recipes-phosphor/interfaces')
-rw-r--r-- | meta-phosphor/recipes-phosphor/interfaces/bmcweb_git.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/interfaces/bmcweb_git.bb b/meta-phosphor/recipes-phosphor/interfaces/bmcweb_git.bb index 35b5f31a8a..29a60b5532 100644 --- a/meta-phosphor/recipes-phosphor/interfaces/bmcweb_git.bb +++ b/meta-phosphor/recipes-phosphor/interfaces/bmcweb_git.bb @@ -9,6 +9,7 @@ DEPENDS = " \ gtest \ nlohmann-json \ libtinyxml2 \ + nghttp2 \ ${@bb.utils.contains('PTEST_ENABLED', '1', 'gtest', '', d)} \ ${@bb.utils.contains('PTEST_ENABLED', '1', 'gmock', '', d)} \ " |