mirror of the now-defunct rocklinux.org
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.

15 lines
381 B

  1. #!/bin/bash
  2. if [ $ROCKCFG_ARM_OPT != generic ] ; then
  3. var_append GCC3_WRAPPER_INSERT " " \
  4. "-mcpu=$ROCKCFG_ARM_OPT"
  5. var_append GCC4_WRAPPER_INSERT " " \
  6. "-mcpu=$ROCKCFG_ARM_OPT"
  7. fi
  8. if [ $ROCKCFG_ARM_OPT_ARCH != generic ] ; then
  9. var_append GCC3_WRAPPER_INSERT " " \
  10. "-march=$ROCKCFG_ARM_OPT_ARCH"
  11. var_append GCC4_WRAPPER_INSERT " " \
  12. "-march=$ROCKCFG_ARM_OPT_ARCH"
  13. fi