From fdd06d604ec14cde85f343a87f763c9310bafb6c Mon Sep 17 00:00:00 2001 From: Nikolay Shaplov Date: Sat, 7 Dec 2013 15:46:22 +0400 Subject: Proposial of README.Debian file that explains Debian users how to build examples for current prebuilt linux kernel --- README.Debian | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 README.Debian diff --git a/README.Debian b/README.Debian new file mode 100644 index 0000000..3e1f6a3 --- /dev/null +++ b/README.Debian @@ -0,0 +1,17 @@ +Compiling in Debian +------------------- + +In order to build examples for current prebuilt kernel, you should install +linux-headers package for you current kernel: + +$ sudo apt-get install linux-headers-$(uname -r) + +You will also need make tools: + +$ sudo apt-get install make + +Now just run make in example dir you want to build. + +NOTE: These examples were designed for latest linux kernel and you might not +be able to build some of them for older prebuilt kernels from Debian-based +distributives. -- cgit v1.2.1-18-gbd029