mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-24 23:23:54 -06:00
Pins/tests followup (#21268)
Missing commit from #21254 Co-authored-by: Scott Lahteine <github@thinkyhead.com>
This commit is contained in:
parent
4182cf3e9e
commit
2c5967925f
6 changed files with 30 additions and 6 deletions
|
@ -0,0 +1,16 @@
|
|||
#
|
||||
# common-dependencies-post.py
|
||||
# Convenience script to add build flags for Marlin Enabled Features
|
||||
#
|
||||
|
||||
Import("env")
|
||||
Import("projenv")
|
||||
|
||||
def apply_board_build_flags():
|
||||
if not 'BOARD_CUSTOM_BUILD_FLAGS' in env['MARLIN_FEATURES']:
|
||||
return
|
||||
projenv.Append(CCFLAGS=env['MARLIN_FEATURES']['BOARD_CUSTOM_BUILD_FLAGS'].split())
|
||||
|
||||
# We need to add the board build flags in a post script
|
||||
# so the platform build script doesn't overwrite the custom CCFLAGS
|
||||
apply_board_build_flags()
|
Loading…
Add table
Add a link
Reference in a new issue