blob: ac182ad06344969c9f88de0c44b10968a22b456c [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 Geissler9d464e52020-09-28 14:51:13 +000016SRCREV = "3e4c7797033926a0502cdd4491421c8b16684aef"
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
34inherit cmake
35
36EXTRA_OECMAKE = "-DBMCWEB_BUILD_UT=OFF -DYOCTO_DEPENDENCIES=ON"
37
38SYSTEMD_SERVICE_${PN} += "bmcweb.service bmcweb.socket"
39
40FULL_OPTIMIZATION = "-Os -pipe "