make INSTALL_MOD_PATH=path_dir modules_install

The INSTALL_MOD_PATH variable is needed to install the modules in the target root filesystem instead of your host root filesystem.
 

原文地址:https://www.cnblogs.com/openix/p/3548691.html