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

Commit ba9effa2 authored by Kirill A. Shutemov's avatar Kirill A. Shutemov Committed by Michal Marek
Browse files

kbuild: export linux/{a.out,kvm,kvm_para}.h on headers_install_all



Export linux/a.out.h, linux/kvm.h and linux/kvm_para.h on
headers_install_all if at least one architecture has appropriate files
in arch-dependent headers.

Signed-off-by: default avatarKirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent f6820308
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -20,15 +20,18 @@ header-y += wimax/
objhdr-y += version.h

ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/a.out.h \
		  $(srctree)/include/asm-$(SRCARCH)/a.out.h),)
		  $(srctree)/include/asm-$(SRCARCH)/a.out.h \
		  $(INSTALL_HDR_PATH)/include/asm-*/a.out.h),)
header-y += a.out.h
endif
ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/kvm.h \
		  $(srctree)/include/asm-$(SRCARCH)/kvm.h),)
		  $(srctree)/include/asm-$(SRCARCH)/kvm.h \
		  $(INSTALL_HDR_PATH)/include/asm-*/kvm.h),)
header-y += kvm.h
endif
ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/kvm_para.h \
		  $(srctree)/include/asm-$(SRCARCH)/kvm_para.h),)
		  $(srctree)/include/asm-$(SRCARCH)/kvm_para.h \
		  $(INSTALL_HDR_PATH)/include/asm-*/kvm_para.h),)
header-y += kvm_para.h
endif