RHEL_KENEL="yes"
AC_MSG_RESULT([yes])
],[
- AC_MSG_RESULT([no])
+ AC_MSG_RESULT([no])
])
AC_MSG_CHECKING([that SuSe kernel])
SUSE_KERNEL="yes"
AC_MSG_RESULT([yes])
],[
- AC_MSG_RESULT([no])
+ AC_MSG_RESULT([no])
])
])
LB_LINUX_ARCH
LB_LINUX_SYMVERFILE
-#if test $LINUX_ARCH == "powerpc64"; then
-# AC_MSG_WARN([set compiler with -m64])
-# CFLAGS="$CFLAGS -m64"
-# CC="$CC -m64"
-#fi
LB_LINUX_CONFIG([MODULES],[],[
AC_MSG_ERROR([module support is required to build Lustre kernel modules.])
#
# LB_CHECK_SYMBOL_EXPORT
-# check symbol exported or not
+# check symbol exported or not
# $1 - symbol
# $2 - file(s) for find.
# $3 - do 'yes'
# $4 - do 'no'
#
# 2.6 based kernels - put modversion info into $LINUX/Module.modvers
-# or check
+# or check
AC_DEFUN([LB_CHECK_SYMBOL_EXPORT],
[AC_MSG_CHECKING([if Linux was built with symbol $1 is exported])
grep -q -E '[[[:space:]]]$1[[[:space:]]]' $LINUX/$SYMVERFILE 2>/dev/null
b_mpilnd)
# lnet mpilnd development branch
- lnettag="b_mpilnd"
- lustretag="HEAD"
- ;;
+ lnettag="b_mpilnd"
+ lustretag="HEAD"
+ ;;
b_new_cmd)
- portalstag="b_new_portals"
+ portalstag="b_new_portals"
# lnettag="b_lnet_tmp"
;;
b_self_test)
# lnet self test development branch
- lnettag="b_self_test"
- lustretag="HEAD"
- ;;
+ lnettag="b_self_test"
+ lustretag="HEAD"
+ ;;
b_usocklnd)
# lnet usocklnd development branch
- lnettag="b_usocklnd"
- lustretag="b1_6_usocklnd"
- ;;
+ lnettag="b_usocklnd"
+ lustretag="b1_6_usocklnd"
+ ;;
b_uo2iblnd)
# lnet u-o2iblnd development branch
b_ula)
# lnet "User Level Access" development branch
- lnettag="b_ula"
- lustretag="HEAD"
+ lnettag="b_ula"
+ lustretag="HEAD"
ldiskfstag="$ldiskfstag_head"
- ;;
+ ;;
# CMD3
b_post_cmd3|b_new_cmd_sles10|b1_6_head_sync|b_mixed_layout_req|b_mount_perm|b1_8_gns|b1_8_interop_server)
#umds cleanup
b_hd_umds_cln2)
ldiskfstag="b1_8_iam_dynlock"
- ;;
+ ;;
# uOSS
b_hd_dmu)
# uOSS o2iblnd
b_uoss_o2iblnd)
lnettag="b_uoss_o2iblnd"
- lustretag="b_hd_dmu"
+ lustretag="b_hd_dmu"
ldiskfstag="$ldiskfstag_head"
dmutag="zfs-lustre"
;;