uapi: export all headers under uapi directories
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Mon, 27 Mar 2017 12:20:15 +0000 (14:20 +0200)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 10 May 2017 15:21:54 +0000 (00:21 +0900)
commitfcc8487d477a3452a1d0ccbdd4c5e0e1e3cb8bed
tree74079c37b73d6be983b3c5767babc880c103dadf
parentea6819e1f2d6c30624ea067f4b3a50a3cca79d8a
uapi: export all headers under uapi directories

Regularly, when a new header is created in include/uapi/, the developer
forgets to add it in the corresponding Kbuild file. This error is usually
detected after the release is out.

In fact, all headers under uapi directories should be exported, thus it's
useless to have an exhaustive list.

After this patch, the following files, which were not exported, are now
exported (with make headers_install_all):
asm-arc/kvm_para.h
asm-arc/ucontext.h
asm-blackfin/shmparam.h
asm-blackfin/ucontext.h
asm-c6x/shmparam.h
asm-c6x/ucontext.h
asm-cris/kvm_para.h
asm-h8300/shmparam.h
asm-h8300/ucontext.h
asm-hexagon/shmparam.h
asm-m32r/kvm_para.h
asm-m68k/kvm_para.h
asm-m68k/shmparam.h
asm-metag/kvm_para.h
asm-metag/shmparam.h
asm-metag/ucontext.h
asm-mips/hwcap.h
asm-mips/reg.h
asm-mips/ucontext.h
asm-nios2/kvm_para.h
asm-nios2/ucontext.h
asm-openrisc/shmparam.h
asm-parisc/kvm_para.h
asm-powerpc/perf_regs.h
asm-sh/kvm_para.h
asm-sh/ucontext.h
asm-tile/shmparam.h
asm-unicore32/shmparam.h
asm-unicore32/ucontext.h
asm-x86/hwcap2.h
asm-xtensa/kvm_para.h
drm/armada_drm.h
drm/etnaviv_drm.h
drm/vgem_drm.h
linux/aspeed-lpc-ctrl.h
linux/auto_dev-ioctl.h
linux/bcache.h
linux/btrfs_tree.h
linux/can/vxcan.h
linux/cifs/cifs_mount.h
linux/coresight-stm.h
linux/cryptouser.h
linux/fsmap.h
linux/genwqe/genwqe_card.h
linux/hash_info.h
linux/kcm.h
linux/kcov.h
linux/kfd_ioctl.h
linux/lightnvm.h
linux/module.h
linux/nbd-netlink.h
linux/nilfs2_api.h
linux/nilfs2_ondisk.h
linux/nsfs.h
linux/pr.h
linux/qrtr.h
linux/rpmsg.h
linux/sched/types.h
linux/sed-opal.h
linux/smc.h
linux/smc_diag.h
linux/stm.h
linux/switchtec_ioctl.h
linux/vfio_ccw.h
linux/wil6210_uapi.h
rdma/bnxt_re-abi.h

Note that I have removed from this list the files which are generated in every
exported directories (like .install or .install.cmd).

Thanks to Julien Floret <julien.floret@6wind.com> for the tip to get all
subdirs with a pure makefile command.

For the record, note that exported files for asm directories are a mix of
files listed by:
 - include/uapi/asm-generic/Kbuild.asm;
 - arch/<arch>/include/uapi/asm/Kbuild;
 - arch/<arch>/include/asm/Kbuild.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Acked-by: Mark Salter <msalter@redhat.com>
Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
80 files changed:
Documentation/kbuild/makefiles.txt
arch/alpha/include/uapi/asm/Kbuild
arch/arc/include/uapi/asm/Kbuild
arch/arm/include/uapi/asm/Kbuild
arch/arm64/include/uapi/asm/Kbuild
arch/blackfin/include/uapi/asm/Kbuild
arch/c6x/include/uapi/asm/Kbuild
arch/cris/include/uapi/arch-v10/arch/Kbuild [deleted file]
arch/cris/include/uapi/arch-v32/arch/Kbuild [deleted file]
arch/cris/include/uapi/asm/Kbuild
arch/frv/include/uapi/asm/Kbuild
arch/h8300/include/uapi/asm/Kbuild
arch/hexagon/include/asm/Kbuild
arch/hexagon/include/uapi/asm/Kbuild
arch/ia64/include/uapi/asm/Kbuild
arch/m32r/include/uapi/asm/Kbuild
arch/m68k/include/uapi/asm/Kbuild
arch/metag/include/uapi/asm/Kbuild
arch/microblaze/include/uapi/asm/Kbuild
arch/mips/include/uapi/asm/Kbuild
arch/mn10300/include/uapi/asm/Kbuild
arch/nios2/include/uapi/asm/Kbuild
arch/openrisc/include/asm/Kbuild
arch/openrisc/include/uapi/asm/Kbuild
arch/parisc/include/uapi/asm/Kbuild
arch/powerpc/include/uapi/asm/Kbuild
arch/s390/include/uapi/asm/Kbuild
arch/score/include/asm/Kbuild
arch/score/include/uapi/asm/Kbuild
arch/sh/include/uapi/asm/Kbuild
arch/sparc/include/uapi/asm/Kbuild
arch/tile/include/asm/Kbuild
arch/tile/include/uapi/arch/Kbuild [deleted file]
arch/tile/include/uapi/asm/Kbuild
arch/unicore32/include/uapi/asm/Kbuild
arch/x86/include/uapi/asm/Kbuild
arch/xtensa/include/uapi/asm/Kbuild
include/Kbuild [deleted file]
include/asm-generic/Kbuild.asm [deleted file]
include/scsi/fc/Kbuild [deleted file]
include/uapi/Kbuild [deleted file]
include/uapi/asm-generic/Kbuild [deleted file]
include/uapi/asm-generic/Kbuild.asm
include/uapi/drm/Kbuild [deleted file]
include/uapi/linux/Kbuild
include/uapi/linux/android/Kbuild [deleted file]
include/uapi/linux/byteorder/Kbuild [deleted file]
include/uapi/linux/caif/Kbuild [deleted file]
include/uapi/linux/can/Kbuild [deleted file]
include/uapi/linux/dvb/Kbuild [deleted file]
include/uapi/linux/hdlc/Kbuild [deleted file]
include/uapi/linux/hsi/Kbuild [deleted file]
include/uapi/linux/iio/Kbuild [deleted file]
include/uapi/linux/isdn/Kbuild [deleted file]
include/uapi/linux/mmc/Kbuild [deleted file]
include/uapi/linux/netfilter/Kbuild [deleted file]
include/uapi/linux/netfilter/ipset/Kbuild [deleted file]
include/uapi/linux/netfilter_arp/Kbuild [deleted file]
include/uapi/linux/netfilter_bridge/Kbuild [deleted file]
include/uapi/linux/netfilter_ipv4/Kbuild [deleted file]
include/uapi/linux/netfilter_ipv6/Kbuild [deleted file]
include/uapi/linux/nfsd/Kbuild [deleted file]
include/uapi/linux/raid/Kbuild [deleted file]
include/uapi/linux/spi/Kbuild [deleted file]
include/uapi/linux/sunrpc/Kbuild [deleted file]
include/uapi/linux/tc_act/Kbuild [deleted file]
include/uapi/linux/tc_ematch/Kbuild [deleted file]
include/uapi/linux/usb/Kbuild [deleted file]
include/uapi/linux/wimax/Kbuild [deleted file]
include/uapi/misc/Kbuild [deleted file]
include/uapi/mtd/Kbuild [deleted file]
include/uapi/rdma/Kbuild [deleted file]
include/uapi/rdma/hfi/Kbuild [deleted file]
include/uapi/scsi/Kbuild [deleted file]
include/uapi/scsi/fc/Kbuild [deleted file]
include/uapi/sound/Kbuild [deleted file]
include/uapi/video/Kbuild [deleted file]
include/uapi/xen/Kbuild [deleted file]
include/video/Kbuild [deleted file]
scripts/Makefile.headersinst