xref: /openbmc/linux/include/uapi/Kbuild (revision 1edd0337)
1# SPDX-License-Identifier: GPL-2.0
2ifeq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/uapi/asm/a.out.h),)
3no-export-headers += linux/a.out.h
4endif
5
6ifeq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/uapi/asm/kvm.h),)
7no-export-headers += linux/kvm.h
8endif
9
10ifeq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/uapi/asm/kvm_para.h),)
11ifeq ($(wildcard $(objtree)/arch/$(SRCARCH)/include/generated/uapi/asm/kvm_para.h),)
12no-export-headers += linux/kvm_para.h
13endif
14endif
15