summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb
blob: 47a8a340e97fd050518ef6ba08e3a41a90cde382 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
SUMMARY = "Phosphor OpenBMC WriteFRU for OpenPOWER systems"
DESCRIPTION = "Phosphor OpenBMC WriteFRU for  OpenPOWER based systems"
HOMEPAGE = "https://github.com/openbmc/ipmi-fru-parser"
PR = "r1"

RRECOMMENDS_${PN} = "virtual/obmc-phosphor-host-ipmi-hw"

inherit obmc-phosphor-license

DEPENDS += "systemd    \
		 	host-ipmid \
		 	"


RDEPENDS_${PN} += "libsystemd"

TARGET_CFLAGS += " -fpic -std=gnu++14"

SRC_URI += "git://github.com/openbmc/ipmi-fru-parser"

SRCREV = "2f5a3cfd2412c7e10d128a856ad2c37c8a1b4a10"

FILES_${PN} += "${libdir}/host-ipmid/*.so"
FILES_${PN}-dbg += "${libdir}/host-ipmid/.debug"

S = "${WORKDIR}/git"

do_install() {
	oe_runmake install DESTDIR=${D} LIBDIR=${libdir} BINDIR=${sbindir}
}


#        install -m 0755 -d ${D}${libdir}/host-ipmid
#        install -m 0755 ${S}/*.so ${D}${libdir}/host-ipmid/
OpenPOWER on IntegriCloud