在解壓的 linux2.6.15 文件夾下 make menuconfig 的時候出現下麵的錯誤: Makefile:452: target 'config' given more than once in the same ruleMakefile:452: *** mixed implicit ...
在解壓的 linux2.6.15 文件夾下 make menuconfig 的時候出現下麵的錯誤:
Makefile:452: target 'config' given more than once in the same rule
Makefile:452: *** mixed implicit and normal rules: deprecated syntax
這是因為我的系統的 make 工具版本較新,make 的舊版規則已經無法相容新版。按照以下方式,問題得到解決,用 vi 打開 Makefile 文件,修改第 452 行:
修改前:
config %config: scripts_basic outputmakefile FORCE
修改後
%config: scripts_basic outputmakefile FORCE