merge: targets: update image generation and targets
[openwrt/staging/jogo.git] / target / linux / mvebu / image / cfbase-boot.script
index 5f9bcd70ba74d224bb5d94bc9d1a687f5ba1b23f..89fa1dc578d0cef61e6279e72e09ca6ae00071ae 100644 (file)
@@ -9,8 +9,8 @@ setenv fdtfile armada-388-clearfog-base.dtb
 
 # generate bootargs for rootfs on MMC
 if test "${devtype}" = "mmc"; then
-       setexpr lede_rootpart ${distro_bootpart} + 1
-       setenv bootargs ${bootargs} root=/dev/mmcblk${devnum}p${lede_rootpart} rootfstype=auto rootwait
+       setexpr openwrt_rootpart ${distro_bootpart} + 1
+       setenv bootargs ${bootargs} root=/dev/mmcblk${devnum}p${openwrt_rootpart} rootfstype=auto rootwait
 fi
 
 # here one could add logic for other rootfs device types such as scsi and usb