summaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorDavid Woodhouse <david.woodhouse@intel.com>2008-06-27 13:39:42 (GMT)
committerSam Ravnborg <sam@ravnborg.org>2008-06-27 21:13:54 (GMT)
commitb660398101cd0622325480a67ac88bb4d33d553a (patch)
tree3e527c721c71a948727fcd1ad52ac240ca61f43d /include/asm-generic
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')
-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 92a6d91..7cd25b8 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