diff options
-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() { |