header('Access-Control-Allow-Origin:*'); ?>
注1
以 OpenWrt 分支为例
cd ~/openwrt/target/linux
后会出现各类架构的文件夹
如图所示
选定后进入,以 mips为例
cd ramips
#修改文件
vi Makefile
修改其中的 KERNEL_PATCHVER
即可,受支持的内核版本可 vi ~/openwrt/include/kernel-version.mk
查看
编译不受支持的内核等较为麻烦后期再讲
执行
cd ~/lede
make menuconfig
选中Global build settings/Kernel build options
然后根据自己需要空格取消选中对应,这里列出非必要的
Enable support for printk
Support for paging of anonymous memory (swap)
Compile the kernel with symbol table information
Compile the kernel with debug information
Enable process core dump support
Compile the kernel with SysRq support
Enable printk timestamps
同时回退到Global build settings
并启用如下
Strip unnecessary exports from the kernel image
Strip unnecessary functions from libraries
仍然以 Y1 为例
你还可以进入Target Images/squashfs
修改其中的大小,例如默认是256 ,可修改到更高,但是会导致CPU占用率以及内存占用率更高
同时可以执行(较危险,大概,请谨慎)来进行更多的修改,例如禁用不需要的
make kernel_menuconfig CONFIG_TARGET=subtarget
:D 获取中...也可能是获取失败啦,刷新试试?