From 1893301e2aedb89383489ae46a38bbb3ddb1029d Mon Sep 17 00:00:00 2001 From: Minkyu Kang Date: Tue, 4 Jan 2011 09:14:58 +0900 Subject: [PATCH] build: size check correctly Signed-off-by: Minkyu Kang --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 81bdcbc..646d1b3 100755 --- a/build.sh +++ b/build.sh @@ -132,10 +132,10 @@ build_uboot $* #make_evt_image check_size -if [ "$IPL" != "mmc" -a -e "$PWD/u-boot-onenand.bin" ]; then - size=`ls -al u-boot-onenand.bin | awk -F' ' '{printf $5}'` +if [ "$IPL" != "mmc" -a -e "$PWD/u-boot.bin" ]; then + size=`ls -al u-boot.bin | awk -F' ' '{printf $5}'` if [ "$size" -ge "262144" ]; then - echo "u-boot-onenand.bin execced the 256KiB 262144 -> $size" + echo "u-boot.bin execced the 256KiB 262144 -> $size" fi fi -- 2.7.4