projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mediatek: add mt7629 subtarget with rfb image
[openwrt/openwrt.git]
/
target
/
linux
/
mediatek
/
mt7629
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git a/target/linux/mediatek/mt7629/base-files/lib/upgrade/platform.sh
b/target/linux/mediatek/mt7629/base-files/lib/upgrade/platform.sh
new file mode 100755
(executable)
index 0000000..
9a613c4
--- /dev/null
+++ b/
target/linux/mediatek/mt7629/base-files/lib/upgrade/platform.sh
@@ -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
+}