diff options
| author | Kirill A. Shutemov <kirill@shutemov.name> | 2010-12-13 12:10:29 -0500 |
|---|---|---|
| committer | Michal Marek <mmarek@suse.cz> | 2010-12-14 16:16:24 -0500 |
| commit | ba9effa2ecdc08325bd297d541b4207b2df38184 (patch) | |
| tree | e3b92d36b2b3bb486dca7c5a213dc3ccb8569a4e /include/linux/Kbuild | |
| parent | f6820308e025d645d9d766c97586badd4ddb8754 (diff) | |
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: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'include/linux/Kbuild')
| -rw-r--r-- | include/linux/Kbuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/linux/Kbuild b/include/linux/Kbuild index 97319a8fc1e..ae31f9521a6 100644 --- a/include/linux/Kbuild +++ b/include/linux/Kbuild | |||
| @@ -20,15 +20,18 @@ header-y += wimax/ | |||
| 20 | objhdr-y += version.h | 20 | objhdr-y += version.h |
| 21 | 21 | ||
| 22 | ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/a.out.h \ | 22 | ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/a.out.h \ |
| 23 | $(srctree)/include/asm-$(SRCARCH)/a.out.h),) | 23 | $(srctree)/include/asm-$(SRCARCH)/a.out.h \ |
| 24 | $(INSTALL_HDR_PATH)/include/asm-*/a.out.h),) | ||
| 24 | header-y += a.out.h | 25 | header-y += a.out.h |
| 25 | endif | 26 | endif |
| 26 | ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/kvm.h \ | 27 | ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/kvm.h \ |
| 27 | $(srctree)/include/asm-$(SRCARCH)/kvm.h),) | 28 | $(srctree)/include/asm-$(SRCARCH)/kvm.h \ |
| 29 | $(INSTALL_HDR_PATH)/include/asm-*/kvm.h),) | ||
| 28 | header-y += kvm.h | 30 | header-y += kvm.h |
| 29 | endif | 31 | endif |
| 30 | ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/kvm_para.h \ | 32 | ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/kvm_para.h \ |
| 31 | $(srctree)/include/asm-$(SRCARCH)/kvm_para.h),) | 33 | $(srctree)/include/asm-$(SRCARCH)/kvm_para.h \ |
| 34 | $(INSTALL_HDR_PATH)/include/asm-*/kvm_para.h),) | ||
| 32 | header-y += kvm_para.h | 35 | header-y += kvm_para.h |
| 33 | endif | 36 | endif |
| 34 | 37 | ||
