kbuild: fix building with O=.. options
authorSam Ravnborg <sam@saturn.ravnborg.org>
Sun, 9 Dec 2007 07:55:13 +0000 (08:55 +0100)
committerSam Ravnborg <sam@saturn.ravnborg.org>
Sun, 9 Dec 2007 07:55:13 +0000 (08:55 +0100)
commit18c32dac75b187d1a4e858f3cfdf03e844129f5e
treec41a33a7077356c0e75fcbe40ecb49890d506051
parent1cacc9ab8bf10e60b3ed93d7a10b070c4cbc6c9f
kbuild: fix building with O=.. options

The check introduced in commit:
4f1127e204377cbd2a56d112d323466f668e8334 "kbuild: fix
infinite make recursion"

caused certain external modules not to build and
also caused 'make targz-pkg' to fail.
This is a minimal fix so we revert to previous
behaviour - but we do not overwrite the Makefile
in the top-level directory.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Tested-by: Jay Cliburn <jacliburn@bellsouth.net>
Cc: Jay Cliburn <jacliburn@bellsouth.net>
Makefile
scripts/mkmakefile