From f1f2e2484e8a65fa6fd6bc6bad05de1ed30bac39 Mon Sep 17 00:00:00 2001 From: Manojkiran Eda Date: Wed, 2 Sep 2020 21:48:12 +0530 Subject: Switch bmcweb to meson build system & bump - Meson already seems to pass -pipe as a part of default project options,as it was redundant removing it. - This commit would switch and leverage the the meson build system while building bmcweb. - This commit overrides the build type to minsize as it is an yocto build (From meta-phosphor rev: f1517990b64cd99f4f4ec9f18241d8e089ffccab) Signed-off-by: Manojkiran Eda Change-Id: I6ea02820471c54e46863263355f6651b8477ca45 Signed-off-by: Andrew Geissler --- meta-phosphor/recipes-phosphor/interfaces/bmcweb_git.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'meta-phosphor') diff --git a/meta-phosphor/recipes-phosphor/interfaces/bmcweb_git.bb b/meta-phosphor/recipes-phosphor/interfaces/bmcweb_git.bb index 566d1a3a1..efc13c111 100644 --- a/meta-phosphor/recipes-phosphor/interfaces/bmcweb_git.bb +++ b/meta-phosphor/recipes-phosphor/interfaces/bmcweb_git.bb @@ -13,7 +13,7 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=a6a4edad4aed50f39a66d098d74b265b" SRC_URI = "git://github.com/openbmc/bmcweb.git" PV = "1.0+git${SRCPV}" -SRCREV = "d609fd6ebd1af3a9cbba0dd646aee27da8e1f971" +SRCREV = "cc0904473c19977eb0b9789b3c1be54a74ca873d" S = "${WORKDIR}/git" @@ -31,10 +31,10 @@ RDEPENDS_${PN} += "jsnbd" FILES_${PN} += "${datadir}/** " -inherit cmake +inherit meson -EXTRA_OECMAKE = "-DBMCWEB_BUILD_UT=OFF -DYOCTO_DEPENDENCIES=ON" +EXTRA_OEMESON = "--buildtype=minsize -Dtests=disabled -Dyocto-deps=enabled" SYSTEMD_SERVICE_${PN} += "bmcweb.service bmcweb.socket" -FULL_OPTIMIZATION = "-Os -pipe " +FULL_OPTIMIZATION = "-Os " -- cgit v1.2.3