5956b4e314
Modify the generate script to add a new option and copy the types.h arm header file since it's not currently being created properly. Also manually generate the arm types.h uapi header since it's not being properly generated right now. Modify both generate scripts to delete the target directories before adding the files to handle moved/deleted header files. Move the common/scsi headers into android and delete the common directory. Change the scripts to reflect this change. Update the scsi headers since they've been modified in upstream kernels. Bug: 30072483 Change-Id: Ia43d4b238b6a041350d60cc30184ecbd4829d7d5 |
||
---|---|---|
.. | ||
scsi | ||
uapi | ||
README.TXT |
The files under the uapi directory are android kernel uapi header files that exist in android kernels, but have not been upstreamed into the regular kernel. None of these files will get updated automatically, and are frozen at their current value. The files under the scsi directory are frozen copies of kernel scsi headers. Linux's scsi headers are a mix of userspace-facing and kernel-facing declarations that can't be directly used by userspace. The glibc maintainers manually copy-and-pasted these definitions into their own scsi headers and haven't substantially updated them in 15 years. The musl libc project has a similar set of definitions in its scsi headers. These files are actually maintained in external/kernel-headers/modified/scsi. Any modification should first be made there then copied into the scsi directory.