diff options
author | William Gathoye | 2020-02-16 20:40:29 +0100 |
---|---|---|
committer | William Gathoye | 2020-06-09 09:53:26 +0200 |
commit | 2f5bdbcb2a305d13443128cb010c23e2b9e3270f (patch) | |
tree | 78e5de5ba8f6da2e80a14d0b1a49e6d411541988 /PKGBUILD | |
parent | ab231faf91ffcf151fe95303a44594cdfe4e084f (diff) | |
download | aur-2f5bdbcb2a305d13443128cb010c23e2b9e3270f.tar.gz |
Add module version to differenciate with default module
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -41,6 +41,10 @@ prepare() { sed -i "${srcdir}/${_filename}/Makefile" \ -e 's/^KDIR.*/KDIR = \/lib\/modules\/$(KERNELRELEASE)\/build/g' \ -e 's/SUBDIRS/M/g' + + # Add module version to differenciate with the kernel module from + # upstream/Arch Linux kernel. + echo "MODULE_VERSION(\"${pkgver}.${pkgrel}\");" >> "${srcdir}/${_filename}/asix.c" } package() { |