FIXES 16591
umlinux 26 support. i wonder what i just reverted
setting mps correctly. fixed now
====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
FIXES 16591
umlinux 26 support. i wonder what i just reverted
esac
case $AFS_SYSNAME in
*_linux* | *_umlinux*)
+ if test "x$enable_kernel_module" = "xyes"; then
+ AFS_SYSKVERS=`echo $LINUX_VERSION | awk -F\. '{print $[]1 $[]2}'`
+ fi
if test "x${AFS_SYSKVERS}" = "x"; then
AC_MSG_ERROR(Couldn't guess your Linux version. Please use the --with-afs-sysname option to configure an AFS sysname.)
fi
esac
if test "x$enable_kernel_module" = "xyes"; then
- AFS_SYSKVERS=`echo $LINUX_VERSION | awk -F\. '{print $[]1 $[]2}'`
- if test "x${AFS_SYSKVERS}" = "x"; then
- AC_MSG_ERROR(Couldn't guess your Linux version [2])
- fi
if test "x$enable_debug_kernel" = "xno"; then
LINUX_GCC_KOPTS="$LINUX_GCC_KOPTS -fomit-frame-pointer"
fi
include Makefile.common
-<linux26>
+<linux26 umlinux26>
LINUX_MODULE_EXT=ko
-<all -linux26>
+<all -linux26 -umlinux26>
LINUX_MODULE_EXT=o
<all>
.FORCE:
libafs.ko: .FORCE
- export EXTRA_CFLAGS=${EXKERNFLAGS}
- $(shell export EXTRA_CFLAGS="${EXKERNFLAGS}" && ../$(srcdir)/make_kbuild_makefile.pl ${KDIR} $@ @TOP_OBJDIR@/src/config/Makefile.config Makefile.afs Makefile.common)
- $(MAKE) -C ${LINUX_KERNEL_PATH} M=@TOP_OBJDIR@/src/libafs/${KDIR} modules
+ env EXTRA_CFLAGS="${EXTRA_CFLAGS}" ../$(srcdir)/make_kbuild_makefile.pl ${KDIR} $@ @TOP_OBJDIR@/src/config/Makefile.config Makefile.afs Makefile.common
+ env EXTRA_CFLAGS="${EXTRA_CFLAGS}" $(MAKE) -C ${LINUX_KERNEL/src/libafs/${KDIR} modules
-<all -linux26>
+<all -linux26 -umlinux26>
${LIBAFS}: $(AFSAOBJS) $(AFSNONFSOBJS)
$(RM) -f $@
$(LD) -r -o $@ $(AFSAOBJS) $(AFSNONFSOBJS)