Skip to content
Snippets Groups Projects
Commit b9c7927b authored by Alexander Zarochentsev's avatar Alexander Zarochentsev
Browse files

b=11879

r=alex@clusterfs.com

Allow user-level OST build. This patch adds --enable-uoss configure switch, .am
files are modified to include OST and obdfilter subdirectories in user-level
build pass, lustre/ost/ost_main.c (a stub file) added.
parent 5e8604cd
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,9 @@ AC_DEFUN([LB_CANONICAL_SYSTEM],
darwin*)
lb_target_os="darwin"
;;
solaris2.11*)
lb_target_os="SunOS"
;;
esac
AC_SUBST(lb_target_os)
])
......@@ -197,6 +200,23 @@ if test x$enable_bgl != xno; then
fi
])
#
# LB_CONFIG_UOSS
#
#
AC_DEFUN([LB_CONFIG_UOSS],
[AC_MSG_CHECKING([whether to build user-level oss])
AC_ARG_ENABLE([uoss],
AC_HELP_STRING([--enable-uoss],
[enable building of user-level oss]),
[enable_uoss='yes'],[enable_uoss='no'])
if test x$enable_uoss != xno; then
AC_DEFINE(UOSS_SUPPORT, 1, Enable user-level OSS)
enable_modules='no'
fi
])
#
# LB_PATH_SNMP
#
......@@ -453,6 +473,7 @@ AM_CONDITIONAL(INIT_SCRIPTS, test x$ENABLE_INIT_SCRIPTS = "x1")
AM_CONDITIONAL(LINUX, test x$lb_target_os = "xlinux")
AM_CONDITIONAL(DARWIN, test x$lb_target_os = "xdarwin")
AM_CONDITIONAL(CRAY_XT3, test x$enable_cray_xt3 = "xyes")
AM_CONDITIONAL(SUNOS, test x$lb_target_os = "xSunOS")
# this lets lustre cancel libsysio, per-branch or if liblustre is
# disabled
......@@ -467,6 +488,7 @@ AC_SUBST(SYSIO)
LB_LINUX_CONDITIONALS
LB_DARWIN_CONDITIONALS
LB_SUNOS_CONDITIONALS
LN_CONDITIONALS
LC_CONDITIONALS
......@@ -484,6 +506,7 @@ LB_INCLUDE_RULES
LB_CONFIG_CRAY_XT3
LB_CONFIG_BGL
LB_CONFIG_UOSS
LB_PATH_DEFAULTS
LB_PROG_CC
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment