diff options
-rw-r--r-- | README.Linux26 | 14 | ||||
-rwxr-xr-x | build_tools/genmodconf | 2 |
2 files changed, 1 insertions, 15 deletions
diff --git a/README.Linux26 b/README.Linux26 deleted file mode 100644 index 2216016..0000000 --- a/README.Linux26 +++ /dev/null @@ -1,14 +0,0 @@ -To build for Linux 2.6, first you must be sure that you have a -symlink to your linux-2.6 sources in /usr/src/linux-2.6. The 2.6 -kernel no longer needs the full sourcecode to build against it. You -can create the symlink to /lib/modules/`uname -r`/build/ and then -you can type: - -# make -# make install - -Note that you will also need CRC-CCITT functions compiled -with your kernel or as a kernel module. These can be -selected from the "Library Routines" submenu during kernel -configuration via "make menuconfig" - diff --git a/build_tools/genmodconf b/build_tools/genmodconf index 9f65d8b..ada453e 100755 --- a/build_tools/genmodconf +++ b/build_tools/genmodconf @@ -42,7 +42,7 @@ if [ "${1}" = "linux24" ]; then exit 1 fi elif [ "${1}" = "linux26" ]; then - toolver=`/sbin/modprobe --version | awk '{print $$3;}' | cut -d. -f2 | cut -d- -f1` + toolver=`/sbin/modprobe --version 2>/dev/null| awk '{print $3}' | cut -d. -f2 | cut -d- -f1` if [ ${toolver} -ge 2 ]; then cmdopts=\$CMDLINE_OPTS fi |