获取当前系统的config

来源:互联网 发布:js设置元素属性值 编辑:程序博客网 时间:2024/06/06 15:37



一般:/proc/config.gz

ubuntu的位于 /boot下
 cat /boot/config-`uname -r`


编译kernel时需要使能 CONFIG_IKCONFIG_PROC

获取

zcat /proc/config.gz > /usr/src/linux/.config 

原创粉丝点击