commit | 4a5fd836a1101da0b72bcaa143347387071f605d | [log] [tgz] |
---|---|---|
author | Vincent Donnefort <vdonnefort@google.com> | Thu Dec 22 13:48:55 2022 +0000 |
committer | Vincent Donnefort <vdonnefort@google.com> | Thu Jan 12 11:25:14 2023 +0000 |
tree | 66e85f8e038aeaab1c634cb9e501456a83d8ff97 | |
parent | 4556196c7822358ede06101be82859e152a5a28a [diff] |
Add null and console dev nodes to the Android initramfs /dev/null is a security requirement for bionic, /dev/console is needed so the kernel can set-up stdout stderr and stdin before running /init. Bug: 254835242 Change-Id: I865856885e9957ea17e28b62273e701af9bfc56f
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.