A new kernel version needs to be compiled to use a new feature. If the old kernel configuration file is available, which make target creates a configuration file for the new kernel based on the configuration of the old kernel?



Answer: oldconfigmake oldconfig

題解

在Linux核心原始碼專案根目錄底下輸入「make oldconfig」指令,可以使用已存在於Linux原始碼專案根目錄的「.config」檔案並進行檢查,因為有些選項可能不被該版本的核心支援。被檢查完的「.config」檔案會被重新命名為「.config.old」,然後會有新的修正過的「.config」檔案被產生出來。