Add check user
authorJaehoon Chung <jh80.chung@samsung.com>
Sat, 5 Dec 2009 04:19:51 +0000 (13:19 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Sat, 5 Dec 2009 04:19:51 +0000 (13:19 +0900)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
build.sh

index eab4ba4..d24f033 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -27,6 +27,10 @@ check_users()
                CROSS_COMPILER=/opt/toolchains/arm-2008q3/bin/arm-none-linux-gnueabi-
                JOBS="-j 5"
        fi
+       if [ "$USER" = "jaehoon" ]; then
+               CROSS_COMPILER=/usr/local/arm/arm-2008q3/bin/arm-none-linux-gnueabi-
+               JOBS="-j 5"
+       fi
 }
 
 build_uboot()