[PATCH openbmc v4 5/5] add occ hwmon into obmc build
OpenBMC Patches
openbmc-patches at stwcx.xyz
Thu Nov 12 22:20:19 AEDT 2015
From: adamliyi <adamliyi at msn.com>
---
.../recipes-kernel/i2c-occ-mod/i2c-occ-mod_0.1.bb | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 meta-phosphor/common/recipes-kernel/i2c-occ-mod/i2c-occ-mod_0.1.bb
diff --git a/meta-phosphor/common/recipes-kernel/i2c-occ-mod/i2c-occ-mod_0.1.bb b/meta-phosphor/common/recipes-kernel/i2c-occ-mod/i2c-occ-mod_0.1.bb
new file mode 100644
index 0000000..3cb081d
--- /dev/null
+++ b/meta-phosphor/common/recipes-kernel/i2c-occ-mod/i2c-occ-mod_0.1.bb
@@ -0,0 +1,20 @@
+SUMMARY = "build i2c occ hwmon kernel module"
+#LICENSE = "GPLv2"
+#LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
+
+inherit module
+inherit obmc-phosphor-license
+
+# SRC_URI = "file://Makefile \
+# file://occ.c \
+# file://COPYING \
+# "
+
+SRC_URI += "git://github.com/adamliyi/kernel-hwmon-occ"
+#SRC_URI += "git://github.com/openbmc/kernel-hwmon-occ"
+SRCREV = "${AUTOREV}"
+
+S = "${WORKDIR}/git"
+
+# The inherit of module.bbclass will automatically name module packages with
+# "kernel-module-" prefix as required by the oe-core build environment.
--
2.6.3
More information about the openbmc
mailing list