是否可以在安装自定义linux内核时更改make install的默认目标( /boot/ )。
发布于 2016-03-11 03:05:37
简短回答
您需要使用INSTALL_PATH 环境变量更改安装目录。
示例:
$ export INSTALL_PATH=/tmp
$ make install详细信息
来自make help
install-安装内核使用
~/bin/installkernel或/sbin/installkernel或$(INSTALL_PATH)并运行lilo来自Documentation/kbuild/kbuild.txt
INSTALL_PATH指定了放置更新的内核和系统映射映像的位置。默认值是/boot,但可以将其设置为其他值。
同时,来自Documentation/kbuild/makefiles.txt
INSTALL_PATH这个变量为archMakefiles定义了安装驻留内核映像和System.map文件的位置。将其用于特定于体系结构的安装目标。
https://stackoverflow.com/questions/35931157
复制相似问题