summaryrefslogtreecommitdiffstats
path: root/common/recipes-lib/ipmb/libipmb_0.1.bb
blob: 81eed9c0e4e9b755e5ea9571f166d8a08b11086c (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
# Copyright 2015-present Facebook. All Rights Reserved.
SUMMARY = "IPMB Client Library"
DESCRIPTION = "library for IPMB Client"
SECTION = "base"
PR = "r1"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://ipmb.c;beginline=8;endline=20;md5=da35978751a9d71b73679307c4d296ec"


SRC_URI = "file://Makefile \
           file://ipmb.c \
           file://ipmb.h \
          "

S = "${WORKDIR}"

do_install() {
	  install -d ${D}${libdir}
    install -m 0644 libipmb.so ${D}${libdir}/libipmb.so

    install -d ${D}${includedir}/openbmc
    install -m 0644 ipmb.h ${D}${includedir}/openbmc/ipmb.h
}

FILES_${PN} = "${libdir}/libipmb.so"
FILES_${PN}-dev = "${includedir}/openbmc/ipmb.h"
OpenPOWER on IntegriCloud