9584fa46e9
Update generate_uapi_headers.sh to checkout the android mainline kernel. Also, add a small modification to look for the kernel directory in common not linux-stable. Remove deprecated android headers from android/uapi/linux. Also, remove f_accessory.h since it's in the android mainline kernel. Test: Builds and runs on walleye. Change-Id: Ia371305e19f56e6bcc2db6d5b4d299819f07ffc6 |
||
---|---|---|
.. | ||
scsi/scsi | ||
uapi/linux | ||
README.md |
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 are 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.