Commit c53e5c0
committed
scripts: genpinctrl: only wipe folder of series we generate pinctrl for
When generating pinctrl for all families, don't delete the entire output
folder as it may contain pinctrl for STM32Cube HAL2 series which CANNOT
be regenerated by the script. Instead, wipe the folder of every series
for which we will generate pinctrl right before doing said generation.
When a family filter is active, continue to delete nothing as is the
case today.
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>1 parent 9552455 commit c53e5c0
1 file changed
Lines changed: 6 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | 82 | | |
88 | 83 | | |
89 | 84 | | |
| |||
628 | 623 | | |
629 | 624 | | |
630 | 625 | | |
631 | | - | |
632 | | - | |
633 | | - | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | | - | |
639 | | - | |
640 | | - | |
641 | | - | |
642 | | - | |
643 | 626 | | |
644 | 627 | | |
645 | 628 | | |
| |||
648 | 631 | | |
649 | 632 | | |
650 | 633 | | |
651 | | - | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
652 | 637 | | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
653 | 641 | | |
654 | 642 | | |
655 | 643 | | |
| |||
0 commit comments