scripts: sercomm-kernel-header.py: improve compatibility
authorMikhail Zhilkin <csharper2005@gmail.com>
Fri, 2 Dec 2022 15:26:17 +0000 (15:26 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 17 Jun 2023 10:59:37 +0000 (12:59 +0200)
commit63942b569e08a6190ec9096a03d184127b8f3f71
tree63c1e9f1ceae2f72883ae2ac725a75c816aabb9e
parente9d2ff8045f803ec5c90b965946fa1162d5a5699
scripts: sercomm-kernel-header.py: improve compatibility

This improves compatibility with the elder stock firmwares of the
following devices, which have not yet been merged into OpenWrt:
 - Beeline SmartBox Pro
 - Beeline SmartBox Turbo+
 - WiFire S1500.NBN

Without this, OpenWrt factory image installation may fail.

Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
Signed-off-by: Maximilian Weinmann <x1@disroot.org>
(cherry picked from commit 35a4418d3966ccf6229916b0021bd18871ef22dd)
scripts/sercomm-kernel-header.py