summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorDavid Woodhouse <david.woodhouse@intel.com>2008-06-27 14:39:42 +0100
committerSam Ravnborg <sam@ravnborg.org>2008-06-27 23:13:54 +0200
commitb660398101cd0622325480a67ac88bb4d33d553a (patch)
tree3e527c721c71a948727fcd1ad52ac240ca61f43d /include/linux
parent543cf4cb3fe6f6cae3651ba918b9c56200b257d0 (diff)
downloadblackbird-op-linux-b660398101cd0622325480a67ac88bb4d33d553a.tar.gz
blackbird-op-linux-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/linux')
-rw-r--r--include/linux/Kbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/Kbuild b/include/linux/Kbuild
index b6fbb2573e88..71d70d1fbce2 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
OpenPOWER on IntegriCloud