aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure44
1 files changed, 18 insertions, 26 deletions
diff --git a/configure b/configure
index cc2b803f0..055d16a17 100755
--- a/configure
+++ b/configure
@@ -19089,12 +19089,17 @@ echo "${ECHO_T}$kernsrcver" >&6
+ modpost=$LINUX/scripts/Makefile.modpost
echo "$as_me:$LINENO: checking kernel file name for module symbols" >&5
echo $ECHO_N "checking kernel file name for module symbols... $ECHO_C" >&6
- if grep -q Modules.symvers $LINUX/scripts/Makefile.modpost; then
- LINUX_SYMBOLS=Modules.symvers
+ if test -f "$modpost"; then
+ if grep -q Modules.symvers $modpost; then
+ LINUX_SYMBOLS=Modules.symvers
+ else
+ LINUX_SYMBOLS=Module.symvers
+ fi
else
- LINUX_SYMBOLS=Module.symvers
+ LINUX_SYMBOLS=NONE
fi
echo "$as_me:$LINENO: result: $LINUX_SYMBOLS" >&5
echo "${ECHO_T}$LINUX_SYMBOLS" >&6
@@ -19194,21 +19199,12 @@ echo "${ECHO_T}$splsrcver" >&6
echo "$as_me:$LINENO: checking spl file name for module symbols" >&5
echo $ECHO_N "checking spl file name for module symbols... $ECHO_C" >&6
-
if test -r $SPL_OBJ/Module.symvers; then
SPL_SYMBOLS=Module.symvers
elif test -r $SPL_OBJ/Modules.symvers; then
SPL_SYMBOLS=Modules.symvers
else
- echo "$as_me:$LINENO: result: Not found" >&5
-echo "${ECHO_T}Not found" >&6
- { { echo "$as_me:$LINENO: error:
- *** Cannot find extra Module{s}.symvers in the spl source.
- *** Please prepare the spl source before running this script" >&5
-echo "$as_me: error:
- *** Cannot find extra Module{s}.symvers in the spl source.
- *** Please prepare the spl source before running this script" >&2;}
- { (exit 1); exit 1; }; }
+ SPL_SYMBOLS=NONE
fi
echo "$as_me:$LINENO: result: $SPL_SYMBOLS" >&5
@@ -20051,12 +20047,17 @@ echo "${ECHO_T}$kernsrcver" >&6
+ modpost=$LINUX/scripts/Makefile.modpost
echo "$as_me:$LINENO: checking kernel file name for module symbols" >&5
echo $ECHO_N "checking kernel file name for module symbols... $ECHO_C" >&6
- if grep -q Modules.symvers $LINUX/scripts/Makefile.modpost; then
- LINUX_SYMBOLS=Modules.symvers
+ if test -f "$modpost"; then
+ if grep -q Modules.symvers $modpost; then
+ LINUX_SYMBOLS=Modules.symvers
+ else
+ LINUX_SYMBOLS=Module.symvers
+ fi
else
- LINUX_SYMBOLS=Module.symvers
+ LINUX_SYMBOLS=NONE
fi
echo "$as_me:$LINENO: result: $LINUX_SYMBOLS" >&5
echo "${ECHO_T}$LINUX_SYMBOLS" >&6
@@ -20156,21 +20157,12 @@ echo "${ECHO_T}$splsrcver" >&6
echo "$as_me:$LINENO: checking spl file name for module symbols" >&5
echo $ECHO_N "checking spl file name for module symbols... $ECHO_C" >&6
-
if test -r $SPL_OBJ/Module.symvers; then
SPL_SYMBOLS=Module.symvers
elif test -r $SPL_OBJ/Modules.symvers; then
SPL_SYMBOLS=Modules.symvers
else
- echo "$as_me:$LINENO: result: Not found" >&5
-echo "${ECHO_T}Not found" >&6
- { { echo "$as_me:$LINENO: error:
- *** Cannot find extra Module{s}.symvers in the spl source.
- *** Please prepare the spl source before running this script" >&5
-echo "$as_me: error:
- *** Cannot find extra Module{s}.symvers in the spl source.
- *** Please prepare the spl source before running this script" >&2;}
- { (exit 1); exit 1; }; }
+ SPL_SYMBOLS=NONE
fi
echo "$as_me:$LINENO: result: $SPL_SYMBOLS" >&5