Restructure building images, flashing and booting
This commit is contained in:
parent
4df7e93655
commit
4369df9673
5 changed files with 146 additions and 93 deletions
34
constants.py
Normal file
34
constants.py
Normal file
|
@ -0,0 +1,34 @@
|
|||
FASTBOOT = 'fastboot'
|
||||
|
||||
ROOTFS = 'rootfs'
|
||||
BOOTIMG = 'bootimg'
|
||||
LK2ND = 'lk2nd'
|
||||
QHYPSTUB = 'qhypstub'
|
||||
|
||||
EMMC = 'emmc'
|
||||
EMMCFILE = 'emmc-file'
|
||||
MICROSD = 'microsd'
|
||||
LOCATIONS = [EMMC, EMMCFILE, MICROSD]
|
||||
|
||||
JUMPDRIVE = 'jumpdrive'
|
||||
JUMPDRIVE_VERSION = '0.8'
|
||||
|
||||
BOOT_STRATEGIES = {
|
||||
'oneplus-enchilada': FASTBOOT,
|
||||
'xiaomi-beryllium-ebbg': FASTBOOT,
|
||||
'xiaomi-beryllium-tianma': FASTBOOT,
|
||||
'bq-paella': FASTBOOT,
|
||||
}
|
||||
|
||||
DEVICES = {
|
||||
'oneplus-enchilada': ['sdm845-oneplus-enchilada'],
|
||||
'xiaomi-beryllium-ebbg': ['sdm845-xiaomi-beryllium-ebbg'],
|
||||
'xiaomi-beryllium-tianma': ['sdm845-xiaomi-beryllium-tianma'],
|
||||
'bq-paella': ['msm8916-bq-paella'],
|
||||
}
|
||||
|
||||
FLAVOURS = {
|
||||
'barebone': [],
|
||||
'phosh': [],
|
||||
'plasma-mobile': [],
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue