Commit b660398101cd0622325480a67ac88bb4d33d553a
Committed by
Sam Ravnborg
1 parent
543cf4cb3f
Exists in
master
and in
7 other branches
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>
Showing 3 changed files with 2 additions and 3 deletions Side-by-side Diff
include/asm-generic/Kbuild.asm
include/asm-powerpc/Kbuild
include/linux/Kbuild
... | ... | @@ -166,7 +166,7 @@ |
166 | 166 | unifdef-y += adb.h |
167 | 167 | unifdef-y += adfs_fs.h |
168 | 168 | unifdef-y += agpgart.h |
169 | -ifeq ($(wildcard include/asm-$(SRCARCH)/a.out.h),include/asm-$(SRCARCH)/a.out.h) | |
169 | +ifneq ($(wildcard $(srctree)/include/asm-$(SRCARCH)/a.out.h),) | |
170 | 170 | unifdef-y += a.out.h |
171 | 171 | endif |
172 | 172 | unifdef-y += apm_bios.h |