mediatek: filogic: fix build OpenWrt One image

This commit is contained in:
Chen Minqiang 2024-05-22 19:19:47 +08:00 committed by Tianling Shen
parent 74d1a626d5
commit 4de560acc8
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -1177,7 +1177,7 @@ define Device/openwrt_one
UBINIZE_OPTS := -E 5
BLOCKSIZE := 128k
PAGESIZE := 2048
UBINIZE_PARTS := fip=:$(STAGING_DIR_IMAGE)/mt7981_openwrt_one-snand-u-boot.fip recovery=:$(KDIR)/tmp/openwrt-mediatek-filogic-openwrt_one-initramfs.itb \
UBINIZE_PARTS := fip=:$(STAGING_DIR_IMAGE)/mt7981_openwrt_one-snand-u-boot.fip recovery=:$(KDIR)/tmp/$$(KERNEL_INITRAMFS_IMAGE) \
$(if $(wildcard $(TOPDIR)/openwrt-mediatek-filogic-openwrt_one-calibration.itb), calibration=:$(TOPDIR)/openwrt-mediatek-filogic-openwrt_one-calibration.itb)
endef
TARGET_DEVICES += openwrt_one