Error:Makefile:452: target 'config' given more than once in the same rule

在解压的 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

猜你喜欢

转载自www.cnblogs.com/Amedeo/p/8970622.html