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.
 
 
 
 
 
 

18 lines
310 B

  1. #!/bin/sh
  2. # SPDX-License-Identifier: GPL-2.0+
  3. # Test for gcc '-fstack-usage' support
  4. # Copyright (C) 2013, Masahiro Yamada <yamada.m@jp.panasonic.com>
  5. #
  6. TMP="$$"
  7. cat <<END | $@ -Werror -fstack-usage -x c - -c -o $TMP >/dev/null 2>&1 \
  8. && echo "y"
  9. int main(void)
  10. {
  11. return 0;
  12. }
  13. END
  14. rm -f $TMP $TMP.su