scripts/mkits.sh: replace forgotten '-' with ${REFERENCE_CHAR}
authorDaniel Golle <daniel@makrotopia.org>
Wed, 23 Mar 2022 19:34:06 +0000 (19:34 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 24 Mar 2022 00:46:45 +0000 (00:46 +0000)
Cosmetical change to improve style in mkits.sh.

Fixes: fd679086473 ("scripts: mkits.sh: Allow legacy @ mode for dts creation")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
scripts/mkits.sh

index f6699384ee6b14ba2cd95d199c6051e10f4ae87a..7bf5681addf097c40e60a93131e6836fdd37a193 100755 (executable)
@@ -137,7 +137,7 @@ fi
 if [ -n "${ROOTFS}" ]; then
        dd if="${ROOTFS}" of="${ROOTFS}.pagesync" bs=4096 conv=sync
        ROOTFS_NODE="
-               rootfs-$ROOTFSNUM {
+               rootfs${REFERENCE_CHAR}$ROOTFSNUM {
                        description = \"${ARCH_UPPER} OpenWrt ${DEVICE} rootfs\";
                        ${COMPATIBLE_PROP}
                        data = /incbin/(\"${ROOTFS}.pagesync\");