My Marlin configs for Fabrikator Mini and CTC i3 Pro B
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.

common-dependencies-post.py 473B

12345678910111213141516
  1. #
  2. # common-dependencies-post.py
  3. # Convenience script to add build flags for Marlin Enabled Features
  4. #
  5. Import("env")
  6. Import("projenv")
  7. def apply_board_build_flags():
  8. if not 'BOARD_CUSTOM_BUILD_FLAGS' in env['MARLIN_FEATURES']:
  9. return
  10. projenv.Append(CCFLAGS=env['MARLIN_FEATURES']['BOARD_CUSTOM_BUILD_FLAGS'].split())
  11. # We need to add the board build flags in a post script
  12. # so the platform build script doesn't overwrite the custom CCFLAGS
  13. apply_board_build_flags()