From a994d3acc956247777270010c67a2936cf3fd597 Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Wed, 16 Jun 2021 12:44:37 -0700 Subject: 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 Change-Id: Ifa9695c3c2313b4895d500a410307ef71ae1fad9 --- meta-phosphor/recipes-phosphor/interfaces/bmcweb_git.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-phosphor/recipes-phosphor/interfaces') 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)} \ " -- cgit v1.2.3