kbuild: fix a.out.h export to userspace with O= build.
authorDavid Woodhouse <david.woodhouse@intel.com>
Fri, 27 Jun 2008 13:39:42 +0000 (14:39 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Fri, 27 Jun 2008 21:13:54 +0000 (23:13 +0200)
commitb660398101cd0622325480a67ac88bb4d33d553a
tree3e527c721c71a948727fcd1ad52ac240ca61f43d
parent543cf4cb3fe6f6cae3651ba918b9c56200b257d0
kbuild: fix a.out.h export to userspace with O= build.

We need to check for existence of the a.out.h header in the source tree,
not the object tree, if we want it to get the right answer with O=.

Signed-off-by: David Woodhouse <david.woodhouse@intel.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
include/asm-generic/Kbuild.asm
include/asm-powerpc/Kbuild
include/linux/Kbuild