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/linux/Kbuild | |
parent | 543cf4cb3fe6f6cae3651ba918b9c56200b257d0 (diff) | |
download | kernel_samsung_crespo-b660398101cd0622325480a67ac88bb4d33d553a.zip kernel_samsung_crespo-b660398101cd0622325480a67ac88bb4d33d553a.tar.gz kernel_samsung_crespo-b660398101cd0622325480a67ac88bb4d33d553a.tar.bz2 |
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/linux/Kbuild')
-rw-r--r-- | include/linux/Kbuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/Kbuild b/include/linux/Kbuild index b6fbb25..71d70d1 100644 --- a/include/linux/Kbuild +++ b/include/linux/Kbuild @@ -166,7 +166,7 @@ unifdef-y += acct.h unifdef-y += adb.h unifdef-y += adfs_fs.h unifdef-y += agpgart.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 += apm_bios.h |