summaryrefslogtreecommitdiff
path: root/include/asm-generic/Kbuild.asm
diff options
context:
space:
mode:
authorDavid Woodhouse <david.woodhouse@intel.com>2008-06-27 17:39:42 +0400
committerSam Ravnborg <sam@ravnborg.org>2008-06-28 01:13:54 +0400
commitb660398101cd0622325480a67ac88bb4d33d553a (patch)
tree3e527c721c71a948727fcd1ad52ac240ca61f43d /include/asm-generic/Kbuild.asm
parent543cf4cb3fe6f6cae3651ba918b9c56200b257d0 (diff)
downloadlinux-b660398101cd0622325480a67ac88bb4d33d553a.tar.xz
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>
Diffstat (limited to 'include/asm-generic/Kbuild.asm')
-rw-r--r--include/asm-generic/Kbuild.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/Kbuild.asm b/include/asm-generic/Kbuild.asm
index 92a6d91d0c1a..7cd25b8e7c9a 100644
--- a/include/asm-generic/Kbuild.asm
+++ b/include/asm-generic/Kbuild.asm
@@ -1,6 +1,6 @@
header-y += kvm.h
-ifeq ($(wildcard include/asm-$(SRCARCH)/a.out.h),include/asm-$(SRCARCH)/a.out.h)
+ifneq ($(wildcard $(srctree)/include/asm-$(SRCARCH)/a.out.h),)
unifdef-y += a.out.h
endif
unifdef-y += auxvec.h