19 Commits

Author SHA1 Message Date
xaizek
5ec66315eb Makefile: silence errors from git
git commands are run during build of the module by DKMS when there is no
git repository, that error output look confusing.
2025-06-18 20:45:44 +03:00
xaizek
e315b9db4a Revert "Makefile: don't install the file as is for DKMS"
This reverts commit ebbe59b205.

It caused difficulties with packaging the module which require relevant
knowledge to resolve.  So far it seems simpler to revert this
modification.
2025-06-18 20:43:11 +03:00
xaizek
46fecbf216 Makefile: drop unconditional installation of dh-dkms
The check for a package was added along with its unconditional
installation.
2025-06-15 16:20:51 +03:00
xaizek
ebbe59b205 Makefile: don't install the file as is for DKMS
Using the whole Makefile results in DKMS running commands unrelated to
the build process (like git commands) which only produce confusing error
output.

Just write `obj-m += nct6687.o` to the Makefile for DKMS as that's the
only thing necessary for it to work.

This also gets rid of `MAKE[0]` in `dkms.conf`.
2025-06-15 11:54:46 +03:00
xaizek
2dccefc54d Makefile: silence unuseful sed's warning
`/etc/fedora-release` doesn't exist on non-Fedora systems, but `sed` is
used on it unconditionally.  Redirect error to `/dev/null` and give the
variable a reasonable value for systems without the file.
2025-06-15 11:54:41 +03:00
Luca Colagrande
80bd1936a8 Fix missing dh-dkms on newer Ubuntu distros 2025-05-17 13:59:40 +02:00
Philip Langdale
c053463605 dkms: support building for non-running kernels
This small tweak allows the dkms build to override the target kernel version
to build for a kernel that isn't the current running one.
2025-03-24 09:08:59 -07:00
Ömer GÖK
5913ac09d1 add support for dnf5 2024-11-05 03:31:59 +03:00
inspectorgadget03
08ac6aa14f Added akmod based rpm specs for fedora 2023-01-04 20:52:38 +03:00
fboltz
dad02375e9 FIX: add missing argument 2022-07-17 11:18:45 +02:00
Taha
462866872f Added DKMS Support 2022-04-22 19:23:59 +03:00
discover02
953476b271 Added DKMS Support 2022-04-22 19:20:53 +03:00
Taha
dd214b86b4 Added DKMS Support 2022-04-22 18:55:20 +03:00
hzy
0e67ecf099 Auto generate debian/changelog 2022-02-22 18:11:27 +08:00
fboltz
31b389dff9 FIX: operator syntax & make simpler (rm -rf/mkdir -p are always silencious) 2022-02-15 23:06:26 +01:00
Taha
9e45cf7f5a Bug(s) fixed 2022-02-14 12:25:31 +03:00
Taha
08eccc5092 New Makefile 2022-02-12 22:12:07 +03:00
Joseph Brasch
4c64ccf225 Fix "No rule to make target 'arch/x86/tools/relocs_32.c'" error on make install 2022-01-14 18:31:26 -07:00
fboltz
d5ec6adbe4 Add sources 2020-11-08 00:19:03 +01:00