1 This directory contains the uapi version of original kernel headers that are 2 used to generate Bionic's "cleaned-up" user-land headers. The script 3 bionic/libc/kernel/tools/generate_uapi_headers.sh automatically imports the 4 headers from an android kernel repository. 5 6 Running the script: 7 8 generate_uapi_headers.sh --download-kernel 9 10 In order to run the script, you must have properly initialized the build 11 environment using the lunch command. The script will automatically retrieve 12 an android kernel, generate all include files, and then copy the headers to 13 this directory. 14 15 The headers are mostly covered by the GPLv2 + exception, and thus cannot be 16 distributed as part of the platform itself. 17 (NOTE: The cleaned up headers do not contain copyrightable information and 18 are distributed with Bionic) 19 20 For more details, please read bionic/libc/kernel/README.TXT 21