diff options
author | David Woodhouse <david.woodhouse@intel.com> | 2008-06-27 14:39:42 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-06-27 23:13:54 +0200 |
commit | b660398101cd0622325480a67ac88bb4d33d553a (patch) | |
tree | 3e527c721c71a948727fcd1ad52ac240ca61f43d /include/asm-generic | |
parent | 543cf4cb3fe6f6cae3651ba918b9c56200b257d0 (diff) | |
download | linux-stable-b660398101cd0622325480a67ac88bb4d33d553a.tar.gz linux-stable-b660398101cd0622325480a67ac88bb4d33d553a.tar.bz2 linux-stable-b660398101cd0622325480a67ac88bb4d33d553a.zip |
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.asm | 2 |
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 |