On Tue, 2009-10-13 at 21:41 +0300, Denis Onischenko wrote: > This error occurs when compiling the linux kernel with latest make > version (3.81.90) from cvs repository: > > .../arch/powerpc/Makefile:168: *** mixed implicit and normal rules. > Stop.
It's never been legal to mix implicit and explicit (normal) rules. However, older versions of make didn't always catch these problems; if you started with a pattern target then had non-pattern targets later, it would fail. If you started with non-pattern targets and had pattern targets later, it would succeed. The newest version is consistent: you can't mix them regardless of the order they appear in. Even though it didn't give an error, the makefile you had didn't work as you expected it to. Make would create a pattern rule like this: zImage% dtbImage% treeImage.% cuImage.% simpleImage.%: which doesn't do what I'm pretty sure you meant; see the GNU make manual, section on multiple patterns in a pattern rule. -- ------------------------------------------------------------------------------- Paul D. Smith <psm...@gnu.org> Find some GNU make tips at: http://www.gnu.org http://make.mad-scientist.net "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Help-make mailing list Help-make@gnu.org http://lists.gnu.org/mailman/listinfo/help-make