support devices that don't have a baseband
This commit is contained in:
parent
06114545f4
commit
84aa406348
1 changed files with 3 additions and 1 deletions
|
@ -66,8 +66,10 @@ export function generateAndroidInfo(device: string, blVersion: string, radioVers
|
||||||
let android_info = `require board=${device}
|
let android_info = `require board=${device}
|
||||||
|
|
||||||
require version-bootloader=${blVersion}
|
require version-bootloader=${blVersion}
|
||||||
require version-baseband=${radioVersion}
|
|
||||||
`
|
`
|
||||||
|
if (radioVersion != undefined) {
|
||||||
|
android_info += 'require version-baseband=${radioVersion}\n'
|
||||||
|
}
|
||||||
|
|
||||||
if (stockAbOtaPartitions.includes('vendor_kernel_boot')) {
|
if (stockAbOtaPartitions.includes('vendor_kernel_boot')) {
|
||||||
android_info += 'require partition-exists=vendor_kernel_boot\n'
|
android_info += 'require partition-exists=vendor_kernel_boot\n'
|
||||||
|
|
Loading…
Reference in a new issue