Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- ALLMACHS='-s am33xx -s omap -s davinci'
- REV=`git rev-parse --short HEAD`
- LOG=$REV.log
- rm -f $LOG
- # Common
- export BUILD_NBUILDS=`grep -c processor /proc/cpuinfo`
- export BUILD_NCPUS=1
- # Trap SIGTERM as that happens when cleaning up
- trap /bin/true SIGTERM
- # Build for ELDK 5.2.1
- source /opt/eldk-5.2.1/armv7a/environment-setup-armv7a-vfp-neon-linux-gnueabi
- export CROSS_COMPILE=arm-linux-gnueabi-
- export BUILD_DIR=eldk521.$REV
- export MAKEALL_LOGDIR=eldk521.$REV
- ./MAKEALL ${ALLMACHS} > $LOG 2>&1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement