From: Andrew Ruthven Date: Sat, 11 Apr 2020 10:54:52 +0000 (+1200) Subject: Import v7.3 X-Git-Tag: debian/7.5-1~7 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21f4302c39889f042629071ab64170af58df72bd;p=sapphire-remote.git Import v7.3 --- diff --git a/Makefile b/Makefile index 7aff8ed..0a441a2 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,12 @@ $(INPUT_H): @echo @exit 1 -kmod: +$(KDIR)/build: + [ -e /usr/src/linux-$(KVER)/Makefile ] && sudo ln -sf /usr/src/linux-$(KVER) $@ || exit 0 + [ -e /usr/src/$(KVER)/Makefile ] && sudo ln -sf /usr/src/$(KVER) $@ || exit 0 + [ -e $@ ] || exit 1 + +kmod: $(KDIR)/build $(MAKE) -C $(KDIR)/build M=$(CWD) modules $(MODNAME).ko: $(MODSOURCE) $(MODNAME).h diff --git a/sapphire.c b/sapphire.c index 9dfa0f9..7e3033a 100644 --- a/sapphire.c +++ b/sapphire.c @@ -38,7 +38,7 @@ #include "sapphire.h" #define SAPPHIRE_NAME "sapphire" -#define SAPPHIRE_VERSION "7.2" +#define SAPPHIRE_VERSION "7.3" /* * "LONGKEY": Any button can be used to generate a second, different keycode,