Advertisement
cmahdc

build.sh

Sep 3rd, 2012
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.39 KB | None | 0 0
  1. #!/bin/sh
  2. echo "cleaning..."
  3. export BUILD_DIR=./am335x
  4. export tmp_PATH=$PATH
  5. export PATH=$PATH:/opt/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin
  6. [ -d $BUILD_DIR ] && rm -rf $BUILD_DIR
  7. mkdir $BUILD_DIR
  8. make distclean
  9. echo "<Press a KEY to continue>"
  10. read -n1
  11. echo "building..."
  12. make  O=am335x CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm am335x_evm
  13. export PATH=$tmp_PATH
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement