Lines Matching refs:kernel

3 Bionic comes with a processed set of all of the uapi Linux kernel headers that
8 unmodified kernel headers in order to get rid of many annoying
18 Description of the directories involved in generating the parsed kernel headers:
20 * `external/kernel-headers/original/uapi/`
21 Contains the uapi kernel headers found in the Android kernel. Note this
22 also includes the header files that are generated by building the kernel
25 * `external/kernel-headers/original/scsi/`
26 Contains copies of the kernel scsi header files. These where never
30 * `external/kernel-headers/modified/scsi/`
32 that removes the kernel specific code from these files so they can
33 be used as uapi headers. The tools to process the kernel headers will
37 * `bionic/libc/kernel/uapi/`
38 Contains the cleaned kernel headers and mirrors the directory structure
39 in `external/kernel-headers/original/uapi/`.
41 * `bionic/libc/kernel/tools/`
48 Checks out the Android kernel and generates all uapi header files.
49 copies all the changed files into external/kernel-headers.
52 Prints the clean version of a given kernel header. With the -u option,
58 `external/kernel-headers/original/`.
68 Download the Android mainline kernel source code:
72 kernel_src> git clone https://android.googlesource.com/kernel/common/ -b android-mainline
75 The Android mainline kernel source has tags that indicate the kernel
77 android-mainline-XXX, where XXX is the kernel version. For example,
78 android-mainline-5.10 corresponds to linux stable kernel 5.10. To check out
85 It is expected that a kernel update should only be performed on a valid tag.
87 version, but never use that as the basis for importing new kernel headers.
94 source tree if there is a kernel source tree already checked out:
96 bionic/libc/kernel/tools/generate_uapi_headers.sh --use-kernel-dir kernel_src
100 and import them if there is no checked out kernel source tree:
102 bionic/libc/kernel/tools/generate_uapi_headers.sh --download-kernel
105 Next, run this command to copy the parsed files to bionic/libc/kernel/uapi:
107 bionic/libc/kernel/tools/update_all.py