mirror of
https://github.com/hzyitc/openwrt-redmi-ax3000
synced 2025-10-30 07:50:32 +08:00
build: add ALT5 vendor/model/variant
This allows adding another device variant. Signed-off-by: Wenli Looi <wlooi@ucalgary.ca>
This commit is contained in:
committed by
Hauke Mehrtens
parent
2b133ab19c
commit
95330a5d60
@ -21,7 +21,7 @@ if not file_path.is_file():
|
||||
|
||||
def get_titles():
|
||||
titles = []
|
||||
for prefix in ["", "ALT0_", "ALT1_", "ALT2_", "ALT3_", "ALT4_"]:
|
||||
for prefix in ["", "ALT0_", "ALT1_", "ALT2_", "ALT3_", "ALT4_", "ALT5_"]:
|
||||
title = {}
|
||||
for var in ["vendor", "model", "variant"]:
|
||||
if getenv("DEVICE_{}{}".format(prefix, var.upper())):
|
||||
|
||||
Reference in New Issue
Block a user