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

 

The following error occurs when make menuconfig in the decompressed linux2.6.15 folder:

Makefile:452: target 'config' given more than once in the same rule
Makefile:452: *** mixed implicit and normal rules: deprecated syntax

 

 

This is because the make tool version of my system is relatively new, and the old rules of make are no longer compatible with the new version. The problem is solved as follows, open the Makefile with vi, and modify line 452: 
Before modification:

config %config: scripts_basic outputmakefile FORCE

after modification

%config: scripts_basic outputmakefile FORCE

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325041801&siteId=291194637