diff options
author | Daniel Golle <daniel@makrotopia.org> | 2022-01-22 00:20:53 +0000 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2022-01-23 19:48:07 +0000 |
commit | a40b4d335a19022745ef6d714f88e6b26615ad50 (patch) | |
tree | ba793567c3e04bfb71cc5db68eb326103e36a9cd /target/linux/mediatek/image/mt7623.mk | |
parent | 7edd10f9dfd9010ac899ed837ce1b7929e8b68f9 (diff) | |
download | upstream-a40b4d335a19022745ef6d714f88e6b26615ad50.tar.gz upstream-a40b4d335a19022745ef6d714f88e6b26615ad50.tar.bz2 upstream-a40b4d335a19022745ef6d714f88e6b26615ad50.zip |
mediatek: use CONFIG_TARGET_ROOTFS_PARTSIZE
Enable 'rootfs-part' feature to make the size of the partition of the
production image configurable instead of hard-coding it.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/mediatek/image/mt7623.mk')
-rw-r--r-- | target/linux/mediatek/image/mt7623.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/mediatek/image/mt7623.mk b/target/linux/mediatek/image/mt7623.mk index 9a938662c3..1d7745f1d6 100644 --- a/target/linux/mediatek/image/mt7623.mk +++ b/target/linux/mediatek/image/mt7623.mk @@ -58,10 +58,10 @@ define Build/mt7623-mbr -t 0x41 -N uboot -p 3584k@320k \ -t 0xea -N recovery -p 40M@4M \ $(if $(findstring sdmmc,$1), \ - -t 0x2e -N production -p 208M@48M \ + -t 0x2e -N production -p $(CONFIG_TARGET_ROOTFS_PARTSIZE)M@48M \ ) \ $(if $(findstring emmc,$1), \ - -t 0x2e -N production -p 976M@48M \ + -t 0x2e -N production -p $(CONFIG_TARGET_ROOTFS_PARTSIZE)M@48M \ ) echo -en \ |