Error:Makefile:1449:*** mixed implicit and normal rules: deprecated syntax

在解压的linux2.6.22.6文件夹下make uImage的时候出现下面的错误:

Makefile:416:*** mixed implicit and normal rules: deprecated syntax
Makefile:1449:*** mixed implicit and normal rules: deprecated syntax

是由于我的系统的make工具太新,make的旧版规则已经无法兼容新版。按照以下方式,问题得到解决,用vim打开Makefile文件,修改416和1449行:
416行修改前:

config %config: scripts_basic outputmakefile FORCE

416行修改后:

%config: scripts_basic outputmakefile FORCE

1449 行修改前:

/ %/: prepare scripts FORCE

1449 行修改后:

%/: prepare scripts FORCE

然后再make uImage又出现下面的错误提示:

"mkimage" command not found - U-Boot images will not be built

执行下面的命令:

sudo apt-get install u-boot-tools

然后再make uImage即可

你可能感兴趣的:(Error:Makefile:1449:*** mixed implicit and normal rules: deprecated syntax)