[Lunar-commits] r22051 - moonbase/trunk/kernel/ndiswrapper
Auke Kok
sofar at lunar-linux.org
Sat Nov 4 04:22:44 CET 2006
Author: sofar
Date: 2006-11-04 04:22:43 +0100 (Sat, 04 Nov 2006)
New Revision: 22051
Modified:
moonbase/trunk/kernel/ndiswrapper/BUILD
Log:
Make ndiswrapper install against /usr/src/linux kernel version so you can recompile it before booting into the new kernel :)
Modified: moonbase/trunk/kernel/ndiswrapper/BUILD
===================================================================
--- moonbase/trunk/kernel/ndiswrapper/BUILD 2006-11-04 03:20:22 UTC (rev 22050)
+++ moonbase/trunk/kernel/ndiswrapper/BUILD 2006-11-04 03:22:43 UTC (rev 22051)
@@ -1,5 +1,13 @@
(
- default_make
+ KVER=$(if [ -f /usr/src/linux/include/linux/utsrelease.h ] ; then
+ grep UTS_RELEASE /usr/src/linux/include/linux/utsrelease.h | cut -d'"' -f2
+ else
+ grep UTS_RELEASE /usr/src/linux/include/linux/version.h | cut -d'"' -f2
+ fi)
+ make KVERS=$KVER &&
+ prepare_install &&
+ make KVERS=$KVER install
+
) > $C_FIFO 2>&1
More information about the Lunar-commits
mailing list