]> granicus.if.org Git - intel_nuc_led/commitdiff
Add README with CentOS build information
authorFrederik Carlier <frederik.carlier@quamotion.mobi>
Wed, 5 Jul 2017 22:39:23 +0000 (00:39 +0200)
committerFrederik Carlier <frederik.carlier@quamotion.mobi>
Wed, 5 Jul 2017 22:39:23 +0000 (00:39 +0200)
README.CentOS.md [new file with mode: 0644]

diff --git a/README.CentOS.md b/README.CentOS.md
new file mode 100644 (file)
index 0000000..6dcb7db
--- /dev/null
@@ -0,0 +1,21 @@
+# Building on CentOS
+
+To build on CentOS:
+
+Install gcc and the kernel development package:
+
+```
+sudo yum -y install kernel-devel-`uname -r` gcc
+```
+
+Build with make:
+
+```
+make
+```
+
+and load the module with insmod:
+
+```
+sudo insmod nuc_led.ko
+```