summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorWenli Looi <wlooi@ucalgary.ca>2023-07-01 17:37:17 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2023-07-08 20:19:00 +0200
commit95330a5d605715179cc7e4047cbeaf66b097fc87 (patch)
tree427844d36ac9bde27dc9564f917f92986ee6df0f /scripts
parent2b133ab19cd5d741f3191f917c607667943f5f58 (diff)
downloadopenwrt-95330a5d605715179cc7e4047cbeaf66b097fc87.tar.gz
openwrt-95330a5d605715179cc7e4047cbeaf66b097fc87.tar.bz2
openwrt-95330a5d605715179cc7e4047cbeaf66b097fc87.zip
build: add ALT5 vendor/model/variant
This allows adding another device variant. Signed-off-by: Wenli Looi <wlooi@ucalgary.ca>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/json_add_image_info.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/json_add_image_info.py b/scripts/json_add_image_info.py
index 0c441b9334..3aeb7ba5fc 100755
--- a/scripts/json_add_image_info.py
+++ b/scripts/json_add_image_info.py
@@ -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())):