mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-08 23:46:20 -06:00
Apply PIO-supported custom_option for deps (#18935)
This commit is contained in:
parent
4c8bb99059
commit
c3fdc7f81e
2 changed files with 6 additions and 6 deletions
|
@ -37,10 +37,10 @@ def load_config():
|
|||
FEATURE_CONFIG[feature] = { 'lib_deps': [] }
|
||||
add_to_feat_cnf(feature, key[1])
|
||||
|
||||
# Add options matching marlin.MY_OPTION to the pile
|
||||
# Add options matching custom_marlin.MY_OPTION to the pile
|
||||
all_opts = env.GetProjectOptions()
|
||||
for n in all_opts:
|
||||
mat = re.match(r'marlin\.(.+)', n[0])
|
||||
mat = re.match(r'custom_marlin\.(.+)', n[0])
|
||||
if mat:
|
||||
try:
|
||||
val = env.GetProjectOption(n[0])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue