From: Frederik Carlier Date: Wed, 5 Jul 2017 22:39:23 +0000 (+0200) Subject: Add README with CentOS build information X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=559c1ab3e2a25209eb2f6ddab81e185576da52f1;p=intel_nuc_led Add README with CentOS build information --- diff --git a/README.CentOS.md b/README.CentOS.md new file mode 100644 index 0000000..6dcb7db --- /dev/null +++ b/README.CentOS.md @@ -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 +```