kbuild: fix make incompatibility
authorSam Ravnborg <sam@ravnborg.org>
Sat, 13 Dec 2008 22:00:45 +0000 (23:00 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Sat, 13 Dec 2008 22:00:45 +0000 (23:00 +0100)
commit31110ebbec8688c6e9597b641101afc94e1c762a
tree208aaad7e40cbb86bc125760664911da8cd4eebb
parentabf681ce5b6f83f0b8883e0f2c12d197a38543dd
kbuild: fix make incompatibility

"Paul Smith" <psmith@gnu.org> reported that we would fail
to build with a new check that may be enabled in an
upcoming version of make.

The error was:

      Makefile:442: *** mixed implicit and normal rules.  Stop.

The problem is that we did stuff like this:

config %config: ...

The solution was simple - the above was split into two with identical
prerequisites and commands.
With only three lines it was not worth to try to avoid the duplication.

Cc: "Paul Smith" <psmith@gnu.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Makefile