Fork of the vendor (Boundary Devices) u-boot for Reform 2, with minor tweaks. The goal is to migrate to mainstream u-boot or barebox ASAP. The main impediment so far is the 4GB RAM config.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
301 B

  1. #!/bin/sh
  2. OUTPUT_DIR=sandbox
  3. fail() {
  4. echo "Test failed: $1"
  5. if [ -n ${tmp} ]; then
  6. rm ${tmp}
  7. fi
  8. exit 1
  9. }
  10. build_uboot() {
  11. echo "Build sandbox"
  12. OPTS="O=${OUTPUT_DIR} $1"
  13. NUM_CPUS=$(grep -c processor /proc/cpuinfo)
  14. echo ${OPTS}
  15. make ${OPTS} sandbox_config
  16. make ${OPTS} -s -j${NUM_CPUS}
  17. }