Merge "Revert "Update to v5.18 kernel headers."" am: 7c7be1ff48 am: d8e478931a am: 62f3a069b1 am: d5a9f19b42 am: c9be632d66

Original change: https://android-review.googlesource.com/c/platform/external/kernel-headers/+/2106940

Change-Id: Ib29935d24aa456ee101954adf01e18a8f09ee543
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
tree: ea6f000cadad53a010394a25e0654c0c349460f2
  1. modified/
  2. original/
  3. CleanSpec.mk
  4. METADATA
  5. MODULE_LICENSE_GPL
  6. NOTICE
  7. OWNERS
  8. README.md
README.md

Android kernel headers

This project contains the original kernel headers that are used to generate Bionic's "cleaned-up" user-land headers.

They are mostly covered by the GPLv2 + exception, and thus cannot be distributed as part of the platform itself. The cleaned up headers do not contain copyrightable information and are distributed with bionic.

Regenerating the bionic headers

Note that if you're actually just trying to expose device-specific headers to build your device drivers, you shouldn't modify these headers or bionic. Instead use TARGET_DEVICE_KERNEL_HEADERS and friends as described in config.mk.

Otherwise see the bionic/libc/kernel docs for how to actually take an update.

Manually modified headers

The modified/scsi directory contains a set of manually updated headers. The scsi kernel headers were never properly made to into uapi versions, so this directory contains the unmodified scsi headers that are imported into bionic. The generation script will indicate if these files have changed and require another manual update.

The files from the scsi directory will be copied into bionic after being processed as is, unless there exists a file of the same name in ../modified/scsi. Any files found in the modified directory completely replace the ones in the scsi directory.