Commit 3c238d9
committed
workflows: bootlinux: add clean builds configuration option
Add CONFIG_BOOTLINUX_CLEAN_BEFORE_BUILD option to enable clean builds
for both fragment and monolithic configurations via configurable
mrproper execution.
Changes:
- Add CONFIG_BOOTLINUX_CLEAN_BEFORE_BUILD Kconfig option (default: n)
- Add global mrproper task in config.yml for non-9P builds
- Add mrproper task in 9P build workflow for localhost builds
- Conditional execution based on bootlinux_clean_before_build variable
This provides deterministic builds when needed while preserving
incremental build performance by default. The mrproper task runs
before configuration to ensure pristine source state.
Features:
- Works with both monolithic and fragment configurations
- Separate handling for 9P vs target builds
- Clear documentation of trade-offs (clean vs incremental builds)
- Maintains existing workflow compatibility
Generated-by: Claude AI
Signed-off-by: Daniel Gomez <[email protected]>1 parent c64006d commit 3c238d9
File tree
3 files changed
+39
-0
lines changed- playbooks/roles/bootlinux/tasks
- build
- workflows/linux
3 files changed
+39
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
112 | 121 | | |
113 | 122 | | |
114 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
34 | 42 | | |
35 | 43 | | |
36 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
191 | 213 | | |
192 | 214 | | |
193 | 215 | | |
| |||
0 commit comments