From 2e2a389e26c012ab67ba8a940bc99b93796bb98e Mon Sep 17 00:00:00 2001 From: Thadeu Lima de Souza Cascardo Date: Sat, 5 Dec 2009 21:28:51 -0200 Subject: [PATCH] Show how to build an out-of-tree module. --- 01.hello/01.hello.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/01.hello/01.hello.xml b/01.hello/01.hello.xml index f3f9003..19aad0f 100644 --- a/01.hello/01.hello.xml +++ b/01.hello/01.hello.xml @@ -15,4 +15,14 @@ We have prepared sample code to build in the samples/ directory. Try them. + +Building + +Building an out-of-tree linux module is very simple: + + +$ make -C /lib/modules/`uname -r`/build M=$PWD modules + + + -- 2.20.1