diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-11-05 13:00:15 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-11-05 13:00:15 +0100 |
| commit | d009051ca214924526788afdb49ccd4a6fa2a4b8 (patch) | |
| tree | 09647ec60f9e522f7d43e375b737dc7213e24b9f /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-- | Makefile | 32 |
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 @@ | |||
| 1 | NAME = snd-hda | ||
| 2 | VERSION = 1.0.0 | ||
| 3 | SRC = usr/src | ||
| 4 | DKMSSRC = $(SRC)/dkms_source_tree | ||
| 5 | |||
| 6 | TARBALL = $(NAME)-$(VERSION).dkms.tar.gz | ||
| 7 | PATCH = ./scripts/patch-name-version.sh $(NAME) $(VERSION) | ||
| 8 | |||
| 9 | all: $(SRC)/$(TARBALL) | ||
| 10 | |||
| 11 | $(SRC)/$(TARBALL): $(DKMSSRC)/patch_cirrus.c | ||
| 12 | (cd $(SRC); tar cvfz $(TARBALL) dkms*) | ||
| 13 | |||
| 14 | clean: | ||
| 15 | rm -f $(SRC)/$(TARBALL) | ||
| 16 | |||
| 17 | distclean: clean | ||
| 18 | rm -rf *-stamp debian/$(NAME)-dkms debian/*.log debian/files | ||
| 19 | |||
| 20 | install: $(SRC)/$(TARBALL) | ||
| 21 | install -d "$(DESTDIR)/$(SRC)" | ||
| 22 | (cd $(SRC); install -m 644 $(NAME)-$(VERSION).dkms.tar.gz "$(DESTDIR)/$(SRC)") | ||
| 23 | |||
| 24 | bump: | ||
| 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 | ||
