Skip to content
Snippets Groups Projects
Commit b85e9c4d authored by scjody's avatar scjody
Browse files

Branch b1_6

Add EXPORT_SYMBOL check for node_to_cpumask symbol.

b=12826
i=shadow
i=mjmac
parent 015fb2f9
No related merge requests found
#
# There are three ways this Makefile can be called:
# There are four ways this Makefile can be called:
#
#
# 1. As a subdirectory from the toplevel, for automake
......@@ -10,6 +10,8 @@
# 3. At configure time, as the toplevel module dir for building
# kernel tests
#
# 4. At configure time, to determine the kernel's idea of $(ARCH)
#
ifeq ($(PATCHLEVEL),)
......@@ -47,3 +49,8 @@ include $(TOPDIR)/Rules.make
endif
endif # PATCHLEVEL
# case 4
echoarch:
echo $(ARCH) >$(ARCHFILE)
......@@ -308,6 +308,21 @@ m4_ifvaln([$5],[$5])dnl])dnl
rm -f build/conftest.o build/conftest.mod.c build/conftest.mod.o build/conftest.ko m4_ifval([$1], [build/conftest.c conftest.c])[]dnl
])
#
# LB_LINUX_ARCH
#
# Determine the kernel's idea of the current architecture
#
AC_DEFUN([LB_LINUX_ARCH],
[AC_MSG_CHECKING([Linux kernel architecture])
AS_IF([rm -f $PWD/build/arch
make -s --no-print-directory echoarch -f $PWD/build/Makefile \
LUSTRE_LINUX_CONFIG=$LINUX_CONFIG -C $LINUX_OBJ $ARCH_UM \
ARCHFILE=$PWD/build/arch && LINUX_ARCH=`cat $PWD/build/arch`],
[AC_MSG_RESULT([$LINUX_ARCH])],
[AC_MSG_ERROR([Could not determine the kernel architecture.])])
rm -f build/arch])
#
# LB_LINUX_TRY_COMPILE
#
......
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