summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorRitesh Raj Sarraf <rrs@researchut.com>2010-10-02 00:11:24 +0530
committerRitesh Raj Sarraf <rrs@researchut.com>2010-10-02 00:11:24 +0530
commit928728046e677d8f63400a2018bde2854503c08b (patch)
tree99a4fa7a04fb3ce2246f5f92387762dc09545af5 /debian
parent0ed7e8c95cb67eebd55a6d98259c3f0f29186ff2 (diff)
add toplevel module makefile
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 716f550..8172bd7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -70,6 +70,9 @@ override_dh_install:
done
cp module/* debian/$(pdkms)/usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/
+ # create toplevel module Makefile
+ echo "obj-m = kernel/" > debian/$(pdkms)/usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/Makefile
+
# Prepare dkms.conf from the dkms.conf.in template
sed "s/__VERSION__/$(DEB_UPSTREAM_VERSION)/g" debian/dkms.conf.in > debian/$(pdkms)/usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/dkms.conf