Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6603981 authored by David Woodhouse's avatar David Woodhouse Committed by Sam Ravnborg
Browse files

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: default avatarDavid Woodhouse <david.woodhouse@intel.com>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent 543cf4cb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
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
+0 −1
Original line number Diff line number Diff line
include include/asm-generic/Kbuild.asm

header-y += a.out.h
header-y += auxvec.h
header-y += ioctls.h
header-y += mman.h
+1 −1
Original line number Diff line number Diff line
@@ -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