summaryrefslogtreecommitdiffstats
path: root/meta-facebook/meta-yosemite/recipes-yosemite/fblibs/libbic_0.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-facebook/meta-yosemite/recipes-yosemite/fblibs/libbic_0.1.bb')
-rw-r--r--meta-facebook/meta-yosemite/recipes-yosemite/fblibs/libbic_0.1.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-facebook/meta-yosemite/recipes-yosemite/fblibs/libbic_0.1.bb b/meta-facebook/meta-yosemite/recipes-yosemite/fblibs/libbic_0.1.bb
new file mode 100644
index 0000000..6b22366
--- /dev/null
+++ b/meta-facebook/meta-yosemite/recipes-yosemite/fblibs/libbic_0.1.bb
@@ -0,0 +1,25 @@
+# Copyright 2015-present Facebook. All Rights Reserved.
+SUMMARY = "Bridge IC Library"
+DESCRIPTION = "library for communicating with Bridge IC"
+SECTION = "base"
+PR = "r1"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://bic.c;beginline=8;endline=20;md5=da35978751a9d71b73679307c4d296ec"
+
+
+SRC_URI = "file://bic \
+ "
+DEPENDS += "libipmi libipmb"
+
+S = "${WORKDIR}/bic"
+
+do_install() {
+ install -d ${D}${libdir}
+ install -m 0644 libbic.so ${D}${libdir}/libbic.so
+
+ install -d ${D}${includedir}/facebook
+ install -m 0644 bic.h ${D}${includedir}/facebook/bic.h
+}
+
+FILES_${PN} = "${libdir}/libbic.so"
+FILES_${PN}-dev = "${includedir}/facebook/bic.h"
OpenPOWER on IntegriCloud