summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-11-05 13:00:15 +0100
committerHenrik Rydberg <rydberg@euromail.se>2010-11-05 13:00:15 +0100
commitd009051ca214924526788afdb49ccd4a6fa2a4b8 (patch)
tree09647ec60f9e522f7d43e375b737dc7213e24b9f /Makefile
Initial dump of hda from maverick kernel Ubuntu-2.6.35-23.36
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..8037cce
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,32 @@
1NAME = snd-hda
2VERSION = 1.0.0
3SRC = usr/src
4DKMSSRC = $(SRC)/dkms_source_tree
5
6TARBALL = $(NAME)-$(VERSION).dkms.tar.gz
7PATCH = ./scripts/patch-name-version.sh $(NAME) $(VERSION)
8
9all: $(SRC)/$(TARBALL)
10
11$(SRC)/$(TARBALL): $(DKMSSRC)/patch_cirrus.c
12 (cd $(SRC); tar cvfz $(TARBALL) dkms*)
13
14clean:
15 rm -f $(SRC)/$(TARBALL)
16
17distclean: clean
18 rm -rf *-stamp debian/$(NAME)-dkms debian/*.log debian/files
19
20install: $(SRC)/$(TARBALL)
21 install -d "$(DESTDIR)/$(SRC)"
22 (cd $(SRC); install -m 644 $(NAME)-$(VERSION).dkms.tar.gz "$(DESTDIR)/$(SRC)")
23
24bump:
25 uname -r > $(DKMSSRC)/KERNEL_SOURCE_VERSION
26 $(PATCH) debian/postinst
27 $(PATCH) debian/postrm
28 $(PATCH) debian/prerm
29 $(PATCH) debian/rules
30 $(PATCH) debian/postinst
31 $(PATCH) $(DKMSSRC)/dkms.conf
32 chmod 0755 debian/rules