diff options
author | Naitik Bharadiya <bharad@codeaurora.org> | 2020-02-27 16:39:22 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2020-06-01 00:30:34 -0700 |
commit | 04e6f16c0c30ccfc08eb8fa2261d57c611ac802b (patch) | |
tree | c3adcdd00fe816178975678335fef400706e0de7 /gen_headers_arm.bp | |
parent | a99e3ea5847781ee32a5343cd5320bd31e92018c (diff) |
Kbuild : Use no-export-headers to avoid exporting headers
Add header files under no-export-headers in Kbuild to avoid
exporting specific headers files.
Scan no-export-headers files in Kbuild and add it to exclude list in
kernel_headers.py to avoid exporting header files.
Change-Id: Ice052b5428ef1f7445c5ad2e68c7da8fa7e249ae
Signed-off-by: Naitik Bharadiya <bharad@codeaurora.org>
[schikk@codeaurora.org: resolve trivial merge conflicts]
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
Diffstat (limited to 'gen_headers_arm.bp')
-rw-r--r-- | gen_headers_arm.bp | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/gen_headers_arm.bp b/gen_headers_arm.bp index 889e42b43e62..3c8598c042b2 100644 --- a/gen_headers_arm.bp +++ b/gen_headers_arm.bp @@ -64,8 +64,6 @@ gen_headers_arm = [ "asm-generic/types.h", "asm-generic/ucontext.h", "asm-generic/unistd.h", - "drm/amdgpu_drm.h", - "drm/armada_drm.h", "drm/drm.h", "drm/drm_fourcc.h", "drm/drm_mode.h", @@ -77,7 +75,6 @@ gen_headers_arm = [ "drm/msm_drm.h", "drm/msm_drm_pp.h", "drm/nouveau_drm.h", - "drm/omap_drm.h", "drm/qxl_drm.h", "drm/r128_drm.h", "drm/radeon_drm.h", @@ -127,7 +124,6 @@ gen_headers_arm = [ "linux/b1lli.h", "linux/batterydata-interface.h", "linux/baycom.h", - "linux/bcache.h", "linux/bcm933xx_hcs.h", "linux/bfs_fs.h", "linux/binfmts.h", @@ -155,9 +151,7 @@ gen_headers_arm = [ "linux/coff.h", "linux/connector.h", "linux/const.h", - "linux/coresight-stm.h", "linux/cramfs_fs.h", - "linux/cryptouser.h", "linux/cuda.h", "linux/cyclades.h", "linux/cycx_cfm.h", @@ -211,7 +205,6 @@ gen_headers_arm = [ "linux/gsmmux.h", "linux/hab_ioctl.h", "linux/habmmid.h", - "linux/hash_info.h", "linux/hbtp_input.h", "linux/hbtp_vm.h", "linux/hdlc.h", @@ -299,7 +292,6 @@ gen_headers_arm = [ "linux/jffs2.h", "linux/joystick.h", "linux/kcmp.h", - "linux/kcov.h", "linux/kd.h", "linux/kdev_t.h", "linux/kernel-page-flags.h", @@ -307,14 +299,11 @@ gen_headers_arm = [ "linux/kernelcapi.h", "linux/kexec.h", "linux/keyboard.h", - "linux/keychord.h", "linux/keyctl.h", - "linux/kfd_ioctl.h", "linux/kvm.h", "linux/kvm_para.h", "linux/l2tp.h", "linux/libc-compat.h", - "linux/lightnvm.h", "linux/limits.h", "linux/llc.h", "linux/loop.h", @@ -341,7 +330,6 @@ gen_headers_arm = [ "linux/minix_fs.h", "linux/mman.h", "linux/mmtimer.h", - "linux/module.h", "linux/mpls.h", "linux/mpls_iptunnel.h", "linux/mqueue.h", @@ -449,7 +437,6 @@ gen_headers_arm = [ "linux/ppp-ioctl.h", "linux/ppp_defs.h", "linux/pps.h", - "linux/pr.h", "linux/prctl.h", "linux/psci.h", "linux/ptp_clock.h", @@ -512,7 +499,6 @@ gen_headers_arm = [ "linux/spcom.h", "linux/stat.h", "linux/stddef.h", - "linux/stm.h", "linux/string.h", "linux/suspend_ioctls.h", "linux/sw_sync.h", @@ -525,7 +511,6 @@ gen_headers_arm = [ "linux/taskstats.h", "linux/tcp.h", "linux/tcp_metrics.h", - "linux/tee.h", "linux/telephony.h", "linux/termios.h", "linux/thermal.h", @@ -552,7 +537,6 @@ gen_headers_arm = [ "linux/usbdevice_fs.h", "linux/usbip.h", "linux/userfaultfd.h", - "linux/userio.h", "linux/utime.h", "linux/utsname.h", "linux/uuid.h", @@ -582,12 +566,10 @@ gen_headers_arm = [ "linux/virtio_types.h", "linux/virtio_vsock.h", "linux/vm_sockets.h", - "linux/vsp1.h", "linux/vt.h", "linux/wait.h", "linux/wanrouter.h", "linux/watchdog.h", - "linux/wil6210_uapi.h", "linux/wimax.h", "linux/wireless.h", "linux/x25.h", @@ -637,7 +619,6 @@ gen_headers_arm = [ "scsi/scsi_netlink_fc.h", "scsi/sg.h", "sound/asequencer.h", - "sound/asoc.h", "sound/asound.h", "sound/asound_fm.h", "sound/audio_effects.h", @@ -654,11 +635,9 @@ gen_headers_arm = [ "sound/sb16_csp.h", "sound/sfnt_info.h", "sound/tlv.h", - "sound/usb_stream.h", "sound/voice_params.h", "sound/voice_svc.h", "sound/wcd-dsp-glink.h", - "video/adf.h", "video/edid.h", "video/msm_hdmi_hdcp_mgr.h", "video/msm_hdmi_modes.h", @@ -678,7 +657,6 @@ gen_headers_arm = [ "linux/can/gw.h", "linux/can/netlink.h", "linux/can/raw.h", - "linux/cifs/cifs_mount.h", "linux/dvb/audio.h", "linux/dvb/ca.h", "linux/dvb/dmx.h", @@ -687,8 +665,6 @@ gen_headers_arm = [ "linux/dvb/osd.h", "linux/dvb/version.h", "linux/dvb/video.h", - "linux/genwqe/genwqe_card.h", - "linux/goldfish/goldfish_dma.h", "linux/hdlc/ioctl.h", "linux/hsi/cs-protocol.h", "linux/hsi/hsi_char.h", @@ -723,7 +699,6 @@ gen_headers_arm = [ "linux/netfilter/xt_CONNSECMARK.h", "linux/netfilter/xt_CT.h", "linux/netfilter/xt_DSCP.h", - "linux/netfilter/xt_HARDIDLETIMER.h", "linux/netfilter/xt_HMARK.h", "linux/netfilter/xt_IDLETIMER.h", "linux/netfilter/xt_LED.h", @@ -733,7 +708,6 @@ gen_headers_arm = [ "linux/netfilter/xt_NFQUEUE.h", "linux/netfilter/xt_RATEEST.h", "linux/netfilter/xt_SECMARK.h", - "linux/netfilter/xt_SYNPROXY.h", "linux/netfilter/xt_TCPMSS.h", "linux/netfilter/xt_TCPOPTSTRIP.h", "linux/netfilter/xt_TEE.h", @@ -856,8 +830,6 @@ gen_headers_arm = [ "linux/usb/cdc.h", "linux/usb/ch11.h", "linux/usb/ch9.h", - "linux/usb/f_accessory.h", - "linux/usb/f_mtp.h", "linux/usb/functionfs.h", "linux/usb/g_printer.h", "linux/usb/gadgetfs.h", @@ -948,6 +920,34 @@ genrule { ], exclude_srcs: [ "include/uapi/linux/a.out.h", + "include/uapi/drm/amdgpu_drm.h", + "include/uapi/drm/armada_drm.h", + "include/uapi/drm/omap_drm.h", + "include/uapi/linux/bcache.h", + "include/uapi/linux/cryptouser.h", + "include/uapi/linux/coresight-stm.h", + "include/uapi/linux/hash_info.h", + "include/uapi/linux/kcov.h", + "include/uapi/linux/keychord.h", + "include/uapi/linux/kfd_ioctl.h", + "include/uapi/linux/lightnvm.h", + "include/uapi/linux/module.h", + "include/uapi/linux/pr.h", + "include/uapi/linux/stm.h", + "include/uapi/linux/tee.h", + "include/uapi/linux/userio.h", + "include/uapi/linux/vsp1.h", + "include/uapi/linux/wil6210_uapi.h", + "include/uapi/sound/asoc.h", + "include/uapi/sound/usb_stream.h", + "include/uapi/video/adf.h", + "include/uapi/linux/cifs/cifs_mount.h", + "include/uapi/linux/genwqe/genwqe_card.h", + "include/uapi/linux/goldfish/goldfish_dma.h", + "include/uapi/linux/netfilter/xt_HARDIDLETIMER.h", + "include/uapi/linux/netfilter/xt_SYNPROXY.h", + "include/uapi/linux/usb/f_accessory.h", + "include/uapi/linux/usb/f_mtp.h", ], cmd: "python3 $(location kernel_headers.py) " + kernel_headers_verbose + |