2
0
forked from Ivasoft/openwrt

mediatek: add mt7629 subtarget with rfb image

base-files are added into subtarget directory like what's done
recently in ath79. For this subtarget, metadata checks are enforced
and a SUPPORTED_DEVICE is added to generate proper metadata.
Since we only have mt7629 support in 4.19, override KERNEL_PATCHVER
in target.mk for now.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
This commit is contained in:
Chuanhong Guo
2019-11-01 11:17:28 +08:00
parent 58b0d3ecd6
commit 09fe0c847d
8 changed files with 471 additions and 4 deletions

View File

@@ -0,0 +1,16 @@
PART_NAME=firmware
REQUIRE_IMAGE_METADATA=1
platform_check_image() {
return 0
}
platform_do_upgrade() {
local board=$(board_name)
case "$board" in
*)
default_do_upgrade "$1"
;;
esac
}