aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/image/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mediatek/image/Makefile')
-rw-r--r--target/linux/mediatek/image/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/mediatek/image/Makefile b/target/linux/mediatek/image/Makefile
index 6659d446d0..5e2b2c6d0a 100644
--- a/target/linux/mediatek/image/Makefile
+++ b/target/linux/mediatek/image/Makefile
@@ -22,6 +22,16 @@ define Build/dtb
$(CP) $(DEVICE_DTS_DIR)/$(DEVICE_DTS).dtb $(BIN_DIR)/
endef
+define Build/sysupgrade-emmc
+ rm -f $@.recovery
+ mkfs.fat -C $@.recovery 3070
+
+ ./gen_mt7623_emmc_img.sh $@ \
+ $(IMAGE_KERNEL) \
+ $@.recovery \
+ $(IMAGE_ROOTFS)
+endef
+
# default all platform image(fit) build
define Device/Default
PROFILES = Default $$(DEVICE_NAME)