ramips: split base-files into subtargets
[openwrt/staging/wigyori.git] / target / linux / ramips / rt288x / base-files / lib / upgrade / platform.sh
1 #
2 # Copyright (C) 2010 OpenWrt.org
3 #
4
5 PART_NAME=firmware
6 REQUIRE_IMAGE_METADATA=1
7
8 platform_check_image() {
9 return 0
10 }
11
12 platform_do_upgrade() {
13 local board=$(board_name)
14
15 case "$board" in
16 *)
17 default_do_upgrade "$1"
18 ;;
19 esac
20 }