summaryrefslogtreecommitdiffstats
path: root/common/recipes-lib/sdr/libsdr_0.1.bb
blob: 73ebf3f11354d2e430fa5d6403bf33b572e4dfaf (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
# Copyright 2015-present Facebook. All Rights Reserved.
SUMMARY = "SDR Library"
DESCRIPTION = "library for extracting information from SDR"
SECTION = "base"
PR = "r1"
LICENSE = "GPLv2"


LIC_FILES_CHKSUM = "file://sdr.c;beginline=8;endline=20;md5=da35978751a9d71b73679307c4d296ec"


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

S = "${WORKDIR}"

DEPENDS += " libipmi libpal "

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

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

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