diff options
Diffstat (limited to 'android/arch.go')
-rw-r--r-- | android/arch.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/android/arch.go b/android/arch.go index ebe9897c..d84c829d 100644 --- a/android/arch.go +++ b/android/arch.go @@ -330,6 +330,10 @@ func archMutator(mctx BottomUpMutatorContext) { // Windows builds always prefer 32-bit prefer32 = true } + // only the primary arch in the recovery partition + if module.InstallInRecovery() { + targets = []Target{mctx.Config().Targets[Device][0]} + } targets, err := decodeMultilib(multilib, targets, prefer32) if err != nil { mctx.ModuleErrorf("%s", err.Error()) |