build: add mkqdimg
The mkqdimg is used for Qding QC202 device.
This tool is a reverse engineering of /lib/upgrade/platform.sh
and deqdimg programs that come with the original firmware.
It has been tested on Qding QC202 U-Boot WebUI.
The mkqdimg is also compatible with other qding devices.
Signed-off-by: Coia Prant <[email protected]>
Tested-by: Coia Prant <[email protected]>
Link: https://github.com/openwrt/firmware-utils/pull/38
[style fixes and init some vars]
Signed-off-by: Hauke Mehrtens <[email protected]>