[elbe-devel] [PATCH] debianize: support out of tree module build
Manuel Traut
manut at linutronix.de
Thu Dec 21 12:08:18 CET 2017
From: Philipp Rosenberger <ilu at linutronix.de>
To build out of tree kernel modules the headers and makefiles are
needed. These are at /usr/src after a 'make install'.
Add the path to the linux-headers package and move the symlink
pointing to this directory from the linux-image into the
linux-headers package.
Signed-off-by: Manuel Traut <manut at linutronix.de>
Signed-off-by: Volker Haspel <volker.haspel at linutronix.de>
Tested-by: Volker Haspel <volker.haspel at linutronix.de>
Reviewed-by: Manuel Traut <manut at linutronix.de>
---
elbepack/makofiles/debianize/kernel/linux-headers.install | 3 ++-
elbepack/makofiles/debianize/kernel/linux-image.install | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/elbepack/makofiles/debianize/kernel/linux-headers.install b/elbepack/makofiles/debianize/kernel/linux-headers.install
index 5e2dc39e..c2304b32 100644
--- a/elbepack/makofiles/debianize/kernel/linux-headers.install
+++ b/elbepack/makofiles/debianize/kernel/linux-headers.install
@@ -1 +1,2 @@
-./usr/include/*
+./lib/modules/*/build
+./usr/src/*
diff --git a/elbepack/makofiles/debianize/kernel/linux-image.install b/elbepack/makofiles/debianize/kernel/linux-image.install
index daf6f247..aa29869e 100644
--- a/elbepack/makofiles/debianize/kernel/linux-image.install
+++ b/elbepack/makofiles/debianize/kernel/linux-image.install
@@ -1,4 +1,5 @@
./boot/*
-./lib/modules/*
+./lib/modules/*/modules.*
+./lib/modules/*/kernel/*
./lib/firmware/*
./usr/lib/*
--
2.15.1
More information about the elbe-devel
mailing list