From 073771586ebc397b3a262ae469c92932492678da Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Thu, 23 Sep 2010 11:01:08 +0200 Subject: Import upstream driver with usbid support for the Joojoo This driver is not fully functional, but contains support for the driver usbid. Signed-off-by: Henrik Rydberg --- Makefile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3f5dd2e --- /dev/null +++ b/Makefile @@ -0,0 +1,30 @@ +NAME = hid-egalax +VERSION = 1.0.0 +SRC = usr/src + +TARBALL = $(NAME)-$(VERSION).dkms.tar.gz +PATCH = ./scripts/patch-name-version.sh $(NAME) $(VERSION) + +all: $(SRC)/$(TARBALL) + +$(SRC)/$(TARBALL): $(SRC)/dkms_source_tree/$(NAME).c + (cd $(SRC); tar cvfz $(TARBALL) dkms*) + +clean: + rm -f $(SRC)/$(TARBALL) + +distclean: clean + rm -rf *-stamp debian/$(NAME)-dkms debian/*.log debian/files + +install: $(SRC)/$(TARBALL) + install -d "$(DESTDIR)/$(SRC)" + install -m 644 $(SRC)/$(NAME)-$(VERSION).dkms.tar.gz "$(DESTDIR)/$(SRC)" + +bump: + $(PATCH) debian/postinst + $(PATCH) debian/postrm + $(PATCH) debian/prerm + $(PATCH) debian/rules + $(PATCH) debian/postinst + $(PATCH) usr/src/dkms_source_tree/dkms.conf + chmod 0755 debian/rules -- cgit v1.2.3