check_kernel

来自「rtlinux-3.2源码」· 代码 · 共 20 行

TXT
20
字号
#!/bin/bashif [ $(grep -c "$(uname -r)" ${LINUXDIR}/include/linux/version.h) != 0 ]then	echo <<EOF ***** *****    WARNING!!! ***** *****    The kernel that is currently running is a different *****    version than the source in ${LINUXDIR}.  The current *****    compile will create a module that is *incompatible* *****    with the running kernel.  (This may be exactly what *****    you want, however.) *****EOFfi

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?