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.
 
 
 
 
 
 

24 lines
565 B

  1. #!/bin/sh
  2. # SPDX-License-Identifier: GPL-2.0+
  3. #
  4. # Show the command name for GNU Make
  5. #
  6. # U-Boot is supposed to be built on various platforms.
  7. # One problem is that the command 'make' is not always GNU Make.
  8. # (For ex. the command name for GNU Make on FreeBSD is usually 'gmake'.)
  9. # It is not a good idea to hard-code the command name in scripts
  10. # where where GNU Make is expected.
  11. # Call this helper script to get the command name for GNU Make.
  12. gnu_make=
  13. for m in make gmake
  14. do
  15. if $m --version 2>/dev/null | grep -q GNU; then
  16. echo $m
  17. exit 0
  18. fi
  19. done
  20. exit 1