[arch-commits] Commit in r8168-lts/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Wed Feb 5 21:14:11 UTC 2020


    Date: Wednesday, February 5, 2020 @ 21:14:10
  Author: heftig
Revision: 563534

build fix

Modified:
  r8168-lts/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-05 21:08:12 UTC (rev 563533)
+++ PKGBUILD	2020-02-05 21:14:10 UTC (rev 563534)
@@ -12,13 +12,10 @@
 sha256sums=('0aacba20d985ba5e67e21bdad89a099e102f7bef3027adb647ffbb80b01ac8d0')
 
 build() {
-	local KERNEL_VERSION=$(</usr/src/linux-lts/version)
-
 	cd "r8168-$pkgver"
 	# avoid using the Makefile directly -- it doesn't understand
 	# any kernel but the current.
-	make -C /usr/lib/modules/$KERNEL_VERSION/build \
-			SUBDIRS="$PWD/src" \
+	make -C /usr/src/linux-lts M="$PWD/src" \
 			EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
 			modules
 }
@@ -35,4 +32,4 @@
 		install -Dm644 /dev/stdin "$pkgdir/usr/lib/modprobe.d/$pkgname.conf"
 }
 
-# vim:set noet:
+# vim:set sw=0 noet:



More information about the arch-commits mailing list