blob: 6012ffe1f786b5a1975f8c0dca1413c806034982 [file] [log] [blame]
Brad Bishop8a5dc112019-04-24 19:44:31 -04001inherit systemd
Andrew Geissler630736e2018-07-16 11:50:58 -07002inherit useradd
3
4USERADD_PACKAGES = "${PN}"
5
6# add a user called httpd for the server to assume
7USERADD_PARAM_${PN} = "-r -s /usr/sbin/nologin bmcweb"
Richard Marian Thomaiyarfe5b8d22018-08-20 20:14:16 +05308GROUPADD_PARAM_${PN} = "web; redfish"
Andrew Geissler630736e2018-07-16 11:50:58 -07009
10LICENSE = "Apache-2.0"
11LIC_FILES_CHKSUM = "file://LICENCE;md5=a6a4edad4aed50f39a66d098d74b265b"
12
13SRC_URI = "git://github.com/openbmc/bmcweb.git"
14
15PV = "1.0+git${SRCPV}"
Andrew Geissler67603712020-11-13 16:21:50 +000016SRCREV = "929d4b57f10bc4200e16b71fbcf32521d8cc23c1"
Andrew Geissler630736e2018-07-16 11:50:58 -070017
18S = "${WORKDIR}/git"
19
James Feistc1546bf2020-07-22 14:00:28 -070020DEPENDS = "openssl \
21 zlib \
22 boost \
23 boost-url \
24 libpam \
25 sdbusplus \
26 gtest \
27 nlohmann-json \
28 libtinyxml2 "
Andrew Geissler630736e2018-07-16 11:50:58 -070029
Adriana Kobylake8de9ad2018-12-13 11:01:05 -060030RDEPENDS_${PN} += "jsnbd"
31
Andrew Geissler630736e2018-07-16 11:50:58 -070032FILES_${PN} += "${datadir}/** "
33
Manojkiran Edaf1517992020-09-02 21:48:12 +053034inherit meson
Andrew Geissler630736e2018-07-16 11:50:58 -070035
Manojkiran Edaf1517992020-09-02 21:48:12 +053036EXTRA_OEMESON = "--buildtype=minsize -Dtests=disabled -Dyocto-deps=enabled"
Andrew Geissler630736e2018-07-16 11:50:58 -070037
38SYSTEMD_SERVICE_${PN} += "bmcweb.service bmcweb.socket"
39
Manojkiran Edaf1517992020-09-02 21:48:12 +053040FULL_OPTIMIZATION = "-Os "