Merge changes from topics "board_use_recovery_as_root_soong", "ramdisk"

* changes:
  libatomic / libgcc_stripped: ramdisk_available
  Add target.ramdisk
  Ramdisk modules install to correct location
  Add ramdisk image.
This commit is contained in:
Yifan Hong
2020-01-24 22:39:41 +00:00
committed by Gerrit Code Review
20 changed files with 188 additions and 20 deletions

View File

@@ -838,8 +838,8 @@ func archMutator(mctx BottomUpMutatorContext) {
osTargets = targets
}
// only the primary arch in the recovery partition
if os == Android && module.InstallInRecovery() {
// only the primary arch in the ramdisk / recovery partition
if os == Android && (module.InstallInRecovery() || module.InstallInRamdisk()) {
osTargets = []Target{osTargets[0]}
}